i2c: Static function fixes, 1 of 4
PATCH 1/1 i2c: Static function fixes, 1 of 4
[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 <[email protected]>
Signed-off-by Jean Delvare <[email protected]>
Signed-off-by Greg Kroah-Hartman <[email protected]>
---
commit 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e
tree 6286f837ae9b7109aae92658f2b676e0151c2766
parent 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5
author Ben Dooks <[email protected]> Wed, 26 Oct 2005 21:04:12 +0200 committer Greg Kroah-Hartman <[email protected]> Fri, 28 Oct 2005 14:02:12 -0700
drivers/i2c/chips/eeprom.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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;