Skip to contentSkip to conversation

drivers/i2c/chips/eeprom.c - missing static

PATCH New Ben Dooks 2 participants 2 messages Oct 13, 2005 – Oct 14, 2005

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 drivers/i2c/chips/eeprom.c - missing static

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

-------------- next part --------------

drivers/i2c/chips/eeprom.c +1 -1
@@ -155,7 +155,7 @@ static int eeprom_attach_adapter(struct 
 }
 
 /* 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;
#1 lore raw

PATCH 1/1 drivers/i2c/chips/eeprom.c - missing static

Quoted 3 lines

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

Correct, applied, thanks.

PS: Please avoid posts with empty CC:, these tend to end up in my spam box.

Signature · 1 line
Jean Delvare