diff options
Diffstat (limited to 'drivers/media/video/msp3400.c')
-rw-r--r-- | drivers/media/video/msp3400.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index e956234abf24..ca02f6f14b00 100644 --- a/drivers/media/video/msp3400.c +++ b/drivers/media/video/msp3400.c | |||
@@ -1437,7 +1437,7 @@ static struct i2c_driver driver = { | |||
1437 | 1437 | ||
1438 | static struct i2c_client client_template = | 1438 | static struct i2c_client client_template = |
1439 | { | 1439 | { |
1440 | I2C_DEVNAME("(unset)"), | 1440 | .name = "(unset)", |
1441 | .flags = I2C_CLIENT_ALLOW_USE, | 1441 | .flags = I2C_CLIENT_ALLOW_USE, |
1442 | .driver = &driver, | 1442 | .driver = &driver, |
1443 | }; | 1443 | }; |
@@ -1509,7 +1509,7 @@ static int msp_attach(struct i2c_adapter *adap, int addr, int kind) | |||
1509 | } | 1509 | } |
1510 | 1510 | ||
1511 | /* hello world :-) */ | 1511 | /* hello world :-) */ |
1512 | printk(KERN_INFO "msp34xx: init: chip=%s",i2c_clientname(c)); | 1512 | printk(KERN_INFO "msp34xx: init: chip=%s", c->name); |
1513 | if (HAVE_NICAM(msp)) | 1513 | if (HAVE_NICAM(msp)) |
1514 | printk(" +nicam"); | 1514 | printk(" +nicam"); |
1515 | if (HAVE_SIMPLE(msp)) | 1515 | if (HAVE_SIMPLE(msp)) |