]> err.no Git - linux-2.6/commitdiff
[PATCH] i2c: Static function fixes, 1 of 4
authorBen Dooks <ben-linux@fluff.org>
Wed, 26 Oct 2005 19:04:12 +0000 (21:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:12 +0000 (14:02 -0700)
eeprom_detect is first declared static and then when
the function is actually implemented, there is no static.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/eeprom.c

index ee7cbc823fd178a0a606346e114d82f6640cb552..4baf573fa04f370c634bd99177466d120ba07d30 100644 (file)
@@ -155,7 +155,7 @@ static int eeprom_attach_adapter(struct i2c_adapter *adapter)
 }
 
 /* This function is called by i2c_probe */
-int eeprom_detect(struct i2c_adapter *adapter, int address, int kind)
+static int eeprom_detect(struct i2c_adapter *adapter, int address, int kind)
 {
        struct i2c_client *new_client;
        struct eeprom_data *data;