Fix functions being declared static and then implemented

non-static. Backport from Linux 2.6, original patch from Ben Dooks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3156 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-10-30 14:15:46 +00:00
1 parent f1849c2f56
commit 2dfd3d5b47
10 files changed
+34 -34

No files matched your search

+2 -2
View File
@@ -232,8 +232,8 @@ static int lm80_attach_adapter(struct i2c_adapter *adapter)
return i2c_detect(adapter, &addr_data, lm80_detect);
}
int lm80_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind)
static int lm80_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind)
{
int i, cur;
struct i2c_client *new_client;