summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7127.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/saa7127.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/saa7127.c')
-rw-r--r--linux/drivers/media/video/saa7127.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7127.c b/linux/drivers/media/video/saa7127.c
index 27d9cab97..8a7148114 100644
--- a/linux/drivers/media/video/saa7127.c
+++ b/linux/drivers/media/video/saa7127.c
@@ -78,6 +78,7 @@ MODULE_PARM(test_image, "i");
MODULE_PARM_DESC(debug, "debug level (0-2)");
MODULE_PARM_DESC(test_image, "test_image (0-1)");
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
static unsigned short normal_i2c[] = { 0x88 >> 1, I2C_CLIENT_END };
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13)
@@ -85,6 +86,7 @@ static unsigned short normal_i2c_range[] = { I2C_CLIENT_END };
#endif
I2C_CLIENT_INSMOD;
+#endif
/*
* SAA7127 registers