aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-i2c.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/saa7134/saa7134-i2c.c b/drivers/media/video/saa7134/saa7134-i2c.c
index 238ac3fdeb4a..eae6b529713f 100644
--- a/drivers/media/video/saa7134/saa7134-i2c.c
+++ b/drivers/media/video/saa7134/saa7134-i2c.c
@@ -334,7 +334,7 @@ static int attach_inform(struct i2c_client *client)
334 struct tuner_setup tun_setup; 334 struct tuner_setup tun_setup;
335 335
336 d1printk( "%s i2c attach [addr=0x%x,client=%s]\n", 336 d1printk( "%s i2c attach [addr=0x%x,client=%s]\n",
337 client->driver->name,client->addr,i2c_clientname(client)); 337 client->driver->name, client->addr, client->name);
338 338
339 if (!client->driver->command) 339 if (!client->driver->command)
340 return 0; 340 return 0;
@@ -380,14 +380,14 @@ static struct i2c_adapter saa7134_adap_template = {
380#ifdef I2C_CLASS_TV_ANALOG 380#ifdef I2C_CLASS_TV_ANALOG
381 .class = I2C_CLASS_TV_ANALOG, 381 .class = I2C_CLASS_TV_ANALOG,
382#endif 382#endif
383 I2C_DEVNAME("saa7134"), 383 .name = "saa7134",
384 .id = I2C_HW_SAA7134, 384 .id = I2C_HW_SAA7134,
385 .algo = &saa7134_algo, 385 .algo = &saa7134_algo,
386 .client_register = attach_inform, 386 .client_register = attach_inform,
387}; 387};
388 388
389static struct i2c_client saa7134_client_template = { 389static struct i2c_client saa7134_client_template = {
390 I2C_DEVNAME("saa7134 internal"), 390 .name = "saa7134 internal",
391}; 391};
392 392
393/* ----------------------------------------------------------- */ 393/* ----------------------------------------------------------- */