summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm80.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-26 21:07:25 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 14:02:13 -0700
commitc49efceffa599299ab3f38b1cdf8c2f1bf9811c4 (patch)
treee7b0124f85ad5563875c92679545f4c2fb38c956 /drivers/hwmon/lm80.c
parentd8d2061590c87c20bf78133461bc74df78803ecb (diff)
downloadop-kernel-dev-c49efceffa599299ab3f38b1cdf8c2f1bf9811c4.zip
op-kernel-dev-c49efceffa599299ab3f38b1cdf8c2f1bf9811c4.tar.gz
[PATCH] hwmon: Static function fixes, 3 of 4
Fixup functions that have been declared static and then actually defined without the static on. 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/lm80.c')
-rw-r--r--drivers/hwmon/lm80.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c
index b4cd6c6..c359fde 100644
--- a/drivers/hwmon/lm80.c
+++ b/drivers/hwmon/lm80.c
@@ -393,7 +393,7 @@ static int lm80_attach_adapter(struct i2c_adapter *adapter)
return i2c_probe(adapter, &addr_data, lm80_detect);
}
-int lm80_detect(struct i2c_adapter *adapter, int address, int kind)
+static int lm80_detect(struct i2c_adapter *adapter, int address, int kind)
{
int i, cur;
struct i2c_client *new_client;
OpenPOWER on IntegriCloud