i2c: Static function fixes, 1 of 4
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.
Signed-off-by Ben Dooks <[email protected]>
Signed-off-by Jean Delvare <[email protected]>
--- 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