summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/upd64031a.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-12 00:38:33 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-12 00:38:33 -0200
commitc30e05a83632aeb144f9d3912d39162564244a34 (patch)
tree9877e4ed4167591ccb709ffbee27d7766986dabb /linux/drivers/media/video/upd64031a.c
parentba8e7e903d8aaa290f8528c1beba1284c1d33ddf (diff)
parente2b3b766697ca509f1281178161156ab8df5b0d5 (diff)
downloadmediapointer-dvb-s2-c30e05a83632aeb144f9d3912d39162564244a34.tar.gz
mediapointer-dvb-s2-c30e05a83632aeb144f9d3912d39162564244a34.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/oxford2
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/upd64031a.c')
-rw-r--r--linux/drivers/media/video/upd64031a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/upd64031a.c b/linux/drivers/media/video/upd64031a.c
index 6cbd124c7..98bebcab3 100644
--- a/linux/drivers/media/video/upd64031a.c
+++ b/linux/drivers/media/video/upd64031a.c
@@ -54,6 +54,7 @@ MODULE_PARM(debug, "i");
MODULE_PARM_DESC(debug, "Debug level (0-1)");
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
static unsigned short normal_i2c[] = { 0x24 >> 1, 0x26 >> 1, I2C_CLIENT_END };
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13)
@@ -61,6 +62,7 @@ static unsigned short normal_i2c_range[] = { I2C_CLIENT_END };
#endif
I2C_CLIENT_INSMOD;
+#endif
enum {
R00 = 0, R01, R02, R03, R04,