diff options
author | Len Brown <len.brown@intel.com> | 2005-09-08 01:45:47 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-08 01:45:47 -0400 |
commit | 64e47488c913ac704d465a6af86a26786d1412a5 (patch) | |
tree | d3b0148592963dcde26e4bb35ddfec8b1eaf8e23 /drivers/media/video/saa7134/saa7134-i2c.c | |
parent | 4a35a46bf1cda4737c428380d1db5d15e2590d18 (diff) | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
Merge linux-2.6 with linux-acpi-2.6
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-i2c.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-i2c.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/video/saa7134/saa7134-i2c.c b/drivers/media/video/saa7134/saa7134-i2c.c index 1203b93a572c..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; |
@@ -370,8 +370,6 @@ static int attach_inform(struct i2c_client *client) | |||
370 | } | 370 | } |
371 | 371 | ||
372 | static struct i2c_algorithm saa7134_algo = { | 372 | static struct i2c_algorithm saa7134_algo = { |
373 | .name = "saa7134", | ||
374 | .id = I2C_ALGO_SAA7134, | ||
375 | .master_xfer = saa7134_i2c_xfer, | 373 | .master_xfer = saa7134_i2c_xfer, |
376 | .algo_control = algo_control, | 374 | .algo_control = algo_control, |
377 | .functionality = functionality, | 375 | .functionality = functionality, |
@@ -382,14 +380,14 @@ static struct i2c_adapter saa7134_adap_template = { | |||
382 | #ifdef I2C_CLASS_TV_ANALOG | 380 | #ifdef I2C_CLASS_TV_ANALOG |
383 | .class = I2C_CLASS_TV_ANALOG, | 381 | .class = I2C_CLASS_TV_ANALOG, |
384 | #endif | 382 | #endif |
385 | I2C_DEVNAME("saa7134"), | 383 | .name = "saa7134", |
386 | .id = I2C_ALGO_SAA7134, | 384 | .id = I2C_HW_SAA7134, |
387 | .algo = &saa7134_algo, | 385 | .algo = &saa7134_algo, |
388 | .client_register = attach_inform, | 386 | .client_register = attach_inform, |
389 | }; | 387 | }; |
390 | 388 | ||
391 | static struct i2c_client saa7134_client_template = { | 389 | static struct i2c_client saa7134_client_template = { |
392 | I2C_DEVNAME("saa7134 internal"), | 390 | .name = "saa7134 internal", |
393 | }; | 391 | }; |
394 | 392 | ||
395 | /* ----------------------------------------------------------- */ | 393 | /* ----------------------------------------------------------- */ |