diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-12 01:36:14 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-12 01:36:14 +0000 |
commit | af9281ddbde97a47a1476d7fb2a60eaf4781d738 (patch) | |
tree | 05fdf00f161b6b4e53326969e029ac5117c20e6f /linux/drivers/media/video/tuner-core.c | |
parent | 502df9a802c518e57a4960a1fb5a0b0ed84c2fff (diff) | |
download | mediapointer-dvb-s2-af9281ddbde97a47a1476d7fb2a60eaf4781d738.tar.gz mediapointer-dvb-s2-af9281ddbde97a47a1476d7fb2a60eaf4781d738.tar.bz2 |
* tuner-core.c:
- Solved a problem when compiling with some versions of gcc
- Solved a problem compiling without CONFIG_TUNER_MULTI_I2C
- cx88-i2c.c, saa7134-i2c.c:
- Make it compatible with kernel 2.6.12-rc6-mm1
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index 1033b74ae..64fbf1fd4 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.14 2005/06/10 10:57:18 mchehab Exp $ + * $Id: tuner-core.c,v 1.15 2005/06/12 01:36:14 mchehab Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -219,8 +219,8 @@ static void set_type(struct i2c_client *c, unsigned int type) CHECK_ADDR(radio_tuner,cmd,"radio") } else \ { CHECK_ADDR(tv_tuner,cmd,"TV"); } #else -#define CHECK_ADDR(tp,cmd,tun) tuner_info ("Cmd %s accepted to %s".\n",cmd,tun); -#define CHECK_MODE(cmd) tuner_info ("Cmd %s accepted".\n",cmd); +#define CHECK_ADDR(tp,cmd,tun) tuner_info ("Cmd %s accepted to "tun"\n",cmd); +#define CHECK_MODE(cmd) tuner_info ("Cmd %s accepted\n",cmd); #endif #ifdef CONFIG_TUNER_MULTI_I2C @@ -255,7 +255,7 @@ static void set_addr(struct i2c_client *c, struct tuner_addr *tun_addr) set_type(c,tun_addr->type); } #else -#define set_addr(c,tun_addr) set_type(c,tun_addr->type) +#define set_addr(c,tun_addr) set_type(c,(tun_addr)->type) #endif static char pal[] = "-"; |