mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
[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
@ -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 New Issue
Block a user