summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-19 19:56:56 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-19 19:56:56 +0000
commitf47aedd6b5ff27a36bee52be6cd41b022375b133 (patch)
treee6fb81caa7941d0df5a9845270e9189e16733d7b /linux/drivers/media/video/pvrusb2
parentbce52916562346cea9474564c12897c762d87e46 (diff)
downloadmediapointer-dvb-s2-f47aedd6b5ff27a36bee52be6cd41b022375b133.tar.gz
mediapointer-dvb-s2-f47aedd6b5ff27a36bee52be6cd41b022375b133.tar.bz2
Stop defining I2C adapter IDs nobody uses
From: Jean Delvare <khali@linux-fr.org> There is no point in defining I2C adapter IDs when no code is using them. As this field might go away in the future, stop using it when we don't need to. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
index 24644fc96..dbc0551f0 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
@@ -618,7 +618,9 @@ static struct i2c_algorithm pvr2_i2c_algo_template = {
static struct i2c_adapter pvr2_i2c_adap_template = {
.owner = THIS_MODULE,
.class = 0,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
.id = I2C_HW_B_BT848,
+#endif
};