diff options
Diffstat (limited to 'drivers/media/video/tea6415c.c')
-rw-r--r-- | drivers/media/video/tea6415c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/tea6415c.c b/drivers/media/video/tea6415c.c index ee3688348b66..bb35844e3842 100644 --- a/drivers/media/video/tea6415c.c +++ b/drivers/media/video/tea6415c.c | |||
@@ -36,7 +36,7 @@ static int debug = 0; /* insmod parameter */ | |||
36 | module_param(debug, int, 0644); | 36 | module_param(debug, int, 0644); |
37 | MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); | 37 | MODULE_PARM_DESC(debug, "Turn on/off device debugging (default:off)."); |
38 | #define dprintk(args...) \ | 38 | #define dprintk(args...) \ |
39 | do { if (debug) { printk("%s: %s()[%d]: ",__stringify(KBUILD_MODNAME), __FUNCTION__, __LINE__); printk(args); } } while (0) | 39 | do { if (debug) { printk("%s: %s()[%d]: ", KBUILD_MODNAME, __FUNCTION__, __LINE__); printk(args); } } while (0) |
40 | 40 | ||
41 | #define TEA6415C_NUM_INPUTS 8 | 41 | #define TEA6415C_NUM_INPUTS 8 |
42 | #define TEA6415C_NUM_OUTPUTS 6 | 42 | #define TEA6415C_NUM_OUTPUTS 6 |
@@ -190,10 +190,10 @@ static int command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
190 | } | 190 | } |
191 | 191 | ||
192 | static struct i2c_driver driver = { | 192 | static struct i2c_driver driver = { |
193 | .owner = THIS_MODULE, | 193 | .driver = { |
194 | .name = "tea6415c", | 194 | .name = "tea6415c", |
195 | }, | ||
195 | .id = I2C_DRIVERID_TEA6415C, | 196 | .id = I2C_DRIVERID_TEA6415C, |
196 | .flags = I2C_DF_NOTIFY, | ||
197 | .attach_adapter = attach, | 197 | .attach_adapter = attach, |
198 | .detach_client = detach, | 198 | .detach_client = detach, |
199 | .command = command, | 199 | .command = command, |