diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-26 10:39:36 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-26 10:39:36 +0200 |
commit | e4340839f4ea666cb09caf45d10d30a18a17d2f9 (patch) | |
tree | 417f6365a49f865c7eeebc37026484acb7f65d35 /linux | |
parent | a4c5c6c582583fcb31b975ebacd779ea0c8e5eae (diff) | |
download | mediapointer-dvb-s2-e4340839f4ea666cb09caf45d10d30a18a17d2f9.tar.gz mediapointer-dvb-s2-e4340839f4ea666cb09caf45d10d30a18a17d2f9.tar.bz2 |
em28xx: enable new-style i2c API for kernels >= 2.6.26, not 2.6.22.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-i2c.c b/linux/drivers/media/video/em28xx/em28xx-i2c.c index 1cdd88361..24eebd4a3 100644 --- a/linux/drivers/media/video/em28xx/em28xx-i2c.c +++ b/linux/drivers/media/video/em28xx/em28xx-i2c.c @@ -461,7 +461,7 @@ static struct i2c_algorithm em28xx_algo = { static struct i2c_adapter em28xx_adap_template = { .owner = THIS_MODULE, -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26) .class = I2C_CLASS_TV_ANALOG, #endif .name = "em28xx", |