diff options
-rw-r--r-- | drivers/media/video/tveeprom.c | 6 | ||||
-rw-r--r-- | include/media/tveeprom.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index e8d9440977cb..62b03ef091e0 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -445,6 +445,7 @@ int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len) | |||
445 | } | 445 | } |
446 | EXPORT_SYMBOL(tveeprom_read); | 446 | EXPORT_SYMBOL(tveeprom_read); |
447 | 447 | ||
448 | #if 0 | ||
448 | int tveeprom_dump(unsigned char *eedata, int len) | 449 | int tveeprom_dump(unsigned char *eedata, int len) |
449 | { | 450 | { |
450 | int i; | 451 | int i; |
@@ -460,6 +461,7 @@ int tveeprom_dump(unsigned char *eedata, int len) | |||
460 | return 0; | 461 | return 0; |
461 | } | 462 | } |
462 | EXPORT_SYMBOL(tveeprom_dump); | 463 | EXPORT_SYMBOL(tveeprom_dump); |
464 | #endif /* 0 */ | ||
463 | 465 | ||
464 | /* ----------------------------------------------------------------------- */ | 466 | /* ----------------------------------------------------------------------- */ |
465 | /* needed for ivtv.sf.net at the moment. Should go away in the long */ | 467 | /* needed for ivtv.sf.net at the moment. Should go away in the long */ |
@@ -477,7 +479,7 @@ static unsigned short normal_i2c[] = { | |||
477 | 479 | ||
478 | I2C_CLIENT_INSMOD; | 480 | I2C_CLIENT_INSMOD; |
479 | 481 | ||
480 | struct i2c_driver i2c_driver_tveeprom; | 482 | static struct i2c_driver i2c_driver_tveeprom; |
481 | 483 | ||
482 | static int | 484 | static int |
483 | tveeprom_command(struct i2c_client *client, | 485 | tveeprom_command(struct i2c_client *client, |
@@ -549,7 +551,7 @@ tveeprom_detach_client (struct i2c_client *client) | |||
549 | return 0; | 551 | return 0; |
550 | } | 552 | } |
551 | 553 | ||
552 | struct i2c_driver i2c_driver_tveeprom = { | 554 | static struct i2c_driver i2c_driver_tveeprom = { |
553 | .owner = THIS_MODULE, | 555 | .owner = THIS_MODULE, |
554 | .name = "tveeprom", | 556 | .name = "tveeprom", |
555 | .id = I2C_DRIVERID_TVEEPROM, | 557 | .id = I2C_DRIVERID_TVEEPROM, |
diff --git a/include/media/tveeprom.h b/include/media/tveeprom.h index 5c4fe30e8d1d..854a2c2f105b 100644 --- a/include/media/tveeprom.h +++ b/include/media/tveeprom.h | |||
@@ -24,4 +24,3 @@ void tveeprom_hauppauge_analog(struct tveeprom *tvee, | |||
24 | unsigned char *eeprom_data); | 24 | unsigned char *eeprom_data); |
25 | 25 | ||
26 | int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len); | 26 | int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len); |
27 | int tveeprom_dump(unsigned char *eedata, int len); | ||