Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6536c49a authored by Ben Dooks's avatar Ben Dooks Committed by Greg Kroah-Hartman
Browse files

[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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2445eb62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;