[PATCH] i2c: Static function fixes, 1 of 4
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>
This commit is contained in:
parent
2445eb62e9
commit
6536c49a1e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue