diff options
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[] = "-"; |