diff options
Diffstat (limited to 'drivers/media/pci/bt8xx/bttv-i2c.c')
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-i2c.c b/drivers/media/pci/bt8xx/bttv-i2c.c index 580c8e682392..5039b8826e0a 100644 --- a/drivers/media/pci/bt8xx/bttv-i2c.c +++ b/drivers/media/pci/bt8xx/bttv-i2c.c | |||
@@ -99,7 +99,7 @@ static int bttv_bit_getsda(void *data) | |||
99 | return state; | 99 | return state; |
100 | } | 100 | } |
101 | 101 | ||
102 | static struct i2c_algo_bit_data __devinitdata bttv_i2c_algo_bit_template = { | 102 | static struct i2c_algo_bit_data bttv_i2c_algo_bit_template = { |
103 | .setsda = bttv_bit_setsda, | 103 | .setsda = bttv_bit_setsda, |
104 | .setscl = bttv_bit_setscl, | 104 | .setscl = bttv_bit_setscl, |
105 | .getsda = bttv_bit_getsda, | 105 | .getsda = bttv_bit_getsda, |
@@ -312,7 +312,7 @@ int bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1, | |||
312 | } | 312 | } |
313 | 313 | ||
314 | /* read EEPROM content */ | 314 | /* read EEPROM content */ |
315 | void __devinit bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) | 315 | void bttv_readee(struct bttv *btv, unsigned char *eedata, int addr) |
316 | { | 316 | { |
317 | memset(eedata, 0, 256); | 317 | memset(eedata, 0, 256); |
318 | if (0 != btv->i2c_rc) | 318 | if (0 != btv->i2c_rc) |
@@ -347,7 +347,7 @@ static void do_i2c_scan(char *name, struct i2c_client *c) | |||
347 | } | 347 | } |
348 | 348 | ||
349 | /* init + register i2c adapter */ | 349 | /* init + register i2c adapter */ |
350 | int __devinit init_bttv_i2c(struct bttv *btv) | 350 | int init_bttv_i2c(struct bttv *btv) |
351 | { | 351 | { |
352 | strlcpy(btv->i2c_client.name, "bttv internal", I2C_NAME_SIZE); | 352 | strlcpy(btv->i2c_client.name, "bttv internal", I2C_NAME_SIZE); |
353 | 353 | ||