diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-10-26 21:05:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 23:02:13 +0200 |
commit | d8d2061590c87c20bf78133461bc74df78803ecb (patch) | |
tree | 39ca3da820be362cabfff53f9d5446f6c3dc8059 /drivers/hwmon/lm78.c | |
parent | [PATCH] i2c: Static function fixes, 1 of 4 (diff) | |
download | linux-d8d2061590c87c20bf78133461bc74df78803ecb.tar.xz linux-d8d2061590c87c20bf78133461bc74df78803ecb.zip |
[PATCH] hwmon: Static function fixes, 2 of 4
lm78.c and lm85.c have a number of items declared static
then implemented without the static on them. The following
patch fixes these sparse errors.
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>
Diffstat (limited to 'drivers/hwmon/lm78.c')
-rw-r--r-- | drivers/hwmon/lm78.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 924462362743..bde0cda9477e 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c @@ -480,7 +480,7 @@ static int lm78_isa_attach_adapter(struct i2c_adapter *adapter) } /* This function is called by i2c_probe */ -int lm78_detect(struct i2c_adapter *adapter, int address, int kind) +static int lm78_detect(struct i2c_adapter *adapter, int address, int kind) { int i, err; struct i2c_client *new_client; |