summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-08-31 22:08:34 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-08-31 22:08:34 +0200
commit16f4313d433426d6be10c2cb34a73cc472dc025a (patch)
tree880c1d9d837ec86a90ce2a21d305b1a0f2b282a2 /v4l
parentccb148c4d7d22792a1a65d80c85f1800f2227cfa (diff)
downloadmediapointer-dvb-s2-16f4313d433426d6be10c2cb34a73cc472dc025a.tar.gz
mediapointer-dvb-s2-16f4313d433426d6be10c2cb34a73cc472dc025a.tar.bz2
compat: don't build soc-camera modules for kernels < 2.6.28.
From: Hans Verkuil <hverkuil@xs4all.nl> Compiling this for pre-2.6.28 kernels will generate a lot of warnings due to a prototype change in dev_get_drvdata. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/versions.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/v4l/versions.txt b/v4l/versions.txt
index b2c5bd8fe..1995c9006 100644
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -12,6 +12,17 @@ VIDEO_DM355_CCDC
# Needs defines that are only available from 2.6.29
VIDEO_PXA27x
+[2.6.28]
+# dev_get_drvdata switched to const struct device *
+SOC_CAMERA
+SOC_CAMERA_MT9V022
+SOC_CAMERA_MT9M001
+SOC_CAMERA_MT9M111
+SOC_CAMERA_MT9T031
+SOC_CAMERA_OV772X
+SOC_CAMERA_TW9910
+SOC_CAMERA_PLATFORM
+
[2.6.26]
# Requires struct i2c_device_id
VIDEO_TVP514X
@@ -22,12 +33,6 @@ VIDEO_ADV7343
RADIO_SI4713
I2C_SI4713
-[2.6.25]
-# Requires gpiolib
-SOC_CAMERA
-SOC_CAMERA_MT9V022
-SOC_CAMERA_MT9M001
-
[2.6.24]
# Some freezer routines
USB_GSPCA_SN9C20X_EVDEV