mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
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:
1 parent
f1849c2f56
commit
2dfd3d5b47
10 files changed
+34
-34
No files matched your search
@@ -120,8 +120,8 @@ static int pcf8574_attach_adapter(struct i2c_adapter *adapter)
|
||||
}
|
||||
|
||||
/* This function is called by i2c_detect */
|
||||
int pcf8574_detect(struct i2c_adapter *adapter, int address,
|
||||
unsigned short flags, int kind)
|
||||
static int pcf8574_detect(struct i2c_adapter *adapter, int address,
|
||||
unsigned short flags, int kind)
|
||||
{
|
||||
int i;
|
||||
struct i2c_client *new_client;
|
||||
|
||||
Reference in new issue
Block a user