Skip to contentSkip to conversation

i2c: Static function fixes, 1 of 4

PATCH New Jean Delvare 1 participant 1 message Oct 26, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/16 i2c: Static function fixes, 1 of 4

From: Ben Dooks <[email protected]>
Content-Disposition: inline; filename=static-01-i2c-eeprom.patch

eeprom_detect is first declared static and then when the function is actually implemented, there is no static.

---
 drivers/i2c/chips/eeprom.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/chips/eeprom.c +1 -1
@@ -155,7 +155,7 @@
 }
 
 /* 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;
Signature · 1 line
Jean Delvare