diff options
Diffstat (limited to 'drivers/media/video/bttv-i2c.c')
-rw-r--r-- | drivers/media/video/bttv-i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/bttv-i2c.c b/drivers/media/video/bttv-i2c.c index 1db95f75ac68..706dc48df962 100644 --- a/drivers/media/video/bttv-i2c.c +++ b/drivers/media/video/bttv-i2c.c | |||
@@ -109,7 +109,7 @@ static struct i2c_adapter bttv_i2c_adap_sw_template = { | |||
109 | #ifdef I2C_CLASS_TV_ANALOG | 109 | #ifdef I2C_CLASS_TV_ANALOG |
110 | .class = I2C_CLASS_TV_ANALOG, | 110 | .class = I2C_CLASS_TV_ANALOG, |
111 | #endif | 111 | #endif |
112 | I2C_DEVNAME("bt848"), | 112 | .name = "bt848", |
113 | .id = I2C_HW_B_BT848, | 113 | .id = I2C_HW_B_BT848, |
114 | .client_register = attach_inform, | 114 | .client_register = attach_inform, |
115 | }; | 115 | }; |
@@ -280,7 +280,7 @@ static struct i2c_adapter bttv_i2c_adap_hw_template = { | |||
280 | #ifdef I2C_CLASS_TV_ANALOG | 280 | #ifdef I2C_CLASS_TV_ANALOG |
281 | .class = I2C_CLASS_TV_ANALOG, | 281 | .class = I2C_CLASS_TV_ANALOG, |
282 | #endif | 282 | #endif |
283 | I2C_DEVNAME("bt878"), | 283 | .name = "bt878", |
284 | .id = I2C_HW_B_BT848 /* FIXME */, | 284 | .id = I2C_HW_B_BT848 /* FIXME */, |
285 | .algo = &bttv_algo, | 285 | .algo = &bttv_algo, |
286 | .client_register = attach_inform, | 286 | .client_register = attach_inform, |
@@ -296,7 +296,7 @@ static int attach_inform(struct i2c_client *client) | |||
296 | if (bttv_debug) | 296 | if (bttv_debug) |
297 | printk(KERN_DEBUG "bttv%d: %s i2c attach [addr=0x%x,client=%s]\n", | 297 | printk(KERN_DEBUG "bttv%d: %s i2c attach [addr=0x%x,client=%s]\n", |
298 | btv->c.nr,client->driver->name,client->addr, | 298 | btv->c.nr,client->driver->name,client->addr, |
299 | i2c_clientname(client)); | 299 | client->name); |
300 | if (!client->driver->command) | 300 | if (!client->driver->command) |
301 | return 0; | 301 | return 0; |
302 | 302 | ||
@@ -324,7 +324,7 @@ void bttv_call_i2c_clients(struct bttv *btv, unsigned int cmd, void *arg) | |||
324 | } | 324 | } |
325 | 325 | ||
326 | static struct i2c_client bttv_i2c_client_template = { | 326 | static struct i2c_client bttv_i2c_client_template = { |
327 | I2C_DEVNAME("bttv internal"), | 327 | .name = "bttv internal", |
328 | }; | 328 | }; |
329 | 329 | ||
330 | 330 | ||