diff options
author | Michael Krufky <devnull@localhost> | 2005-07-21 21:53:54 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-07-21 21:53:54 +0000 |
commit | 5e4b21b9b82702742eabb520ce2821fdca07c26a (patch) | |
tree | 4680eab4256dd153beffc4d762fc7fc8de6667d2 | |
parent | e795952bd5e338970136cac1cc561f217c240314 (diff) | |
download | mediapointer-dvb-s2-5e4b21b9b82702742eabb520ce2821fdca07c26a.tar.gz mediapointer-dvb-s2-5e4b21b9b82702742eabb520ce2821fdca07c26a.tar.bz2 |
* tveeprom.c, tveeprom.h:
- make two needlessly global structs static.
- #if 0 the EXPORT_SYMBOL'ed but unused function tveeprom_dump.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | linux/drivers/media/video/tveeprom.c | 6 | ||||
-rw-r--r-- | linux/include/media/tveeprom.h | 3 | ||||
-rw-r--r-- | v4l/ChangeLog | 7 |
3 files changed, 12 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tveeprom.c b/linux/drivers/media/video/tveeprom.c index 8abeeb7da..ffaf8bffe 100644 --- a/linux/drivers/media/video/tveeprom.c +++ b/linux/drivers/media/video/tveeprom.c @@ -454,6 +454,7 @@ int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len) } EXPORT_SYMBOL(tveeprom_read); +#if 0 int tveeprom_dump(unsigned char *eedata, int len) { int i; @@ -469,6 +470,7 @@ int tveeprom_dump(unsigned char *eedata, int len) return 0; } EXPORT_SYMBOL(tveeprom_dump); +#endif /* 0 */ /* ----------------------------------------------------------------------- */ /* needed for ivtv.sf.net at the moment. Should go away in the long */ @@ -489,7 +491,7 @@ static unsigned short normal_i2c_range[] = { I2C_CLIENT_END }; I2C_CLIENT_INSMOD; -struct i2c_driver i2c_driver_tveeprom; +static struct i2c_driver i2c_driver_tveeprom; static int tveeprom_command(struct i2c_client *client, @@ -561,7 +563,7 @@ tveeprom_detach_client (struct i2c_client *client) return 0; } -struct i2c_driver i2c_driver_tveeprom = { +static struct i2c_driver i2c_driver_tveeprom = { .owner = THIS_MODULE, .name = "tveeprom", .id = I2C_DRIVERID_TVEEPROM, diff --git a/linux/include/media/tveeprom.h b/linux/include/media/tveeprom.h index 5c4fe30e8..aa634ce89 100644 --- a/linux/include/media/tveeprom.h +++ b/linux/include/media/tveeprom.h @@ -1,5 +1,5 @@ /* - * $Id: tveeprom.h,v 1.2 2005/06/12 04:19:19 mchehab Exp $ + * $Id: tveeprom.h,v 1.3 2005/07/21 21:53:54 mkrufky Exp $ */ struct tveeprom { @@ -24,4 +24,3 @@ void tveeprom_hauppauge_analog(struct tveeprom *tvee, unsigned char *eeprom_data); int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len); -int tveeprom_dump(unsigned char *eedata, int len); diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 2a9c6e680..8a27edde8 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,10 @@ +2005-07-21 23:53 mkrufky + * tveeprom.c, tveeprom.h: + - make two needlessly global structs static. + - #if 0 the EXPORT_SYMBOL'ed but unused function tveeprom_dump. + + Signed-off-by: Adrian Bunk <bunk@stusta.de> + 2005-07-21 23:08 hhackmann * saa7134-i2c.c: - Ensure a sufficient I2C bus idle time between 2 messages |