diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-07 20:43:22 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2006-01-07 20:43:22 +0000 |
commit | 891b1a330d34434953b744f5b470acf01cbcd1df (patch) | |
tree | a4deac413d4896ae8c4372d2c068d3f6a50a807e /linux/drivers/media/video/em28xx | |
parent | a107ffe65b37a2bb7dfad1822910d281b18a2da9 (diff) | |
download | mediapointer-dvb-s2-891b1a330d34434953b744f5b470acf01cbcd1df.tar.gz mediapointer-dvb-s2-891b1a330d34434953b744f5b470acf01cbcd1df.tar.bz2 |
Some cleanups at I2C modules
- Latest patch reverted, since __stringfy seems to be needed for
kernel < 2.6.15
- Applied kernel I2C cleanups from Jean Delaware.
- driver names simplified to allow usage of newer printk macros
at v4l2-common.h
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/em28xx')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-i2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-i2c.c b/linux/drivers/media/video/em28xx/em28xx-i2c.c index 3a7eba663..75f36e371 100644 --- a/linux/drivers/media/video/em28xx/em28xx-i2c.c +++ b/linux/drivers/media/video/em28xx/em28xx-i2c.c @@ -498,7 +498,9 @@ static struct i2c_adapter em28xx_adap_template = { static struct i2c_client em28xx_client_template = { .name = "em28xx internal", +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15) .flags = I2C_CLIENT_ALLOW_USE, +#endif }; /* ----------------------------------------------------------- */ |