diff options
Diffstat (limited to 'drivers/media/video/tda9840.c')
-rw-r--r-- | drivers/media/video/tda9840.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tda9840.c b/drivers/media/video/tda9840.c index 0243700f58ae..ef494febb5e4 100644 --- a/drivers/media/video/tda9840.c +++ b/drivers/media/video/tda9840.c | |||
@@ -35,7 +35,7 @@ static int debug = 0; /* insmod parameter */ | |||
35 | module_param(debug, int, 0644); | 35 | module_param(debug, int, 0644); |
36 | MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); | 36 | MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); |
37 | #define dprintk(args...) \ | 37 | #define dprintk(args...) \ |
38 | do { if (debug) { printk("%s: %s()[%d]: ", KBUILD_MODNAME, __FUNCTION__, __LINE__); printk(args); } } while (0) | 38 | do { if (debug) { printk("%s: %s()[%d]: ", KBUILD_MODNAME, __FUNCTION__, __LINE__); printk(args); } } while (0) |
39 | 39 | ||
40 | #define SWITCH 0x00 | 40 | #define SWITCH 0x00 |
41 | #define LEVEL_ADJUST 0x02 | 41 | #define LEVEL_ADJUST 0x02 |
@@ -43,7 +43,7 @@ MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); | |||
43 | #define TEST 0x04 | 43 | #define TEST 0x04 |
44 | 44 | ||
45 | /* addresses to scan, found only at 0x42 (7-Bit) */ | 45 | /* addresses to scan, found only at 0x42 (7-Bit) */ |
46 | static unsigned short normal_i2c[] = { I2C_TDA9840, I2C_CLIENT_END }; | 46 | static unsigned short normal_i2c[] = { I2C_ADDR_TDA9840, I2C_CLIENT_END }; |
47 | 47 | ||
48 | /* magic definition of all other variables and things */ | 48 | /* magic definition of all other variables and things */ |
49 | I2C_CLIENT_INSMOD; | 49 | I2C_CLIENT_INSMOD; |