The new 'smiapp' driver requires 'gpio_request_one':

media_build/v4l/smiapp-core.c:2333: error: implicit declaration of function 
'gpio_request_one'

that was first introduced in kernel 2.6.34, so let's disable it on older 
kernels.

Signed-off-by: Gianluca Gennari <gennar...@gmail.com
---
 v4l/versions.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/v4l/versions.txt b/v4l/versions.txt
index 5a8952f..a8170c2 100644
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -43,6 +43,8 @@ VIDEO_TVP7002
 VIDEO_DT3155
 # Needs include/linux/lcm.h
 VIDEO_APTINA_PLL
+# Requires gpio_request_one introduced in 2.6.34
+VIDEO_SMIAPP
 
 [2.6.33]
 VIDEO_AK881X
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to