aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm78.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-26 21:05:46 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 14:02:13 -0700
commitd8d2061590c87c20bf78133461bc74df78803ecb (patch)
tree39ca3da820be362cabfff53f9d5446f6c3dc8059 /drivers/hwmon/lm78.c
parent[PATCH] i2c: Static function fixes, 1 of 4 (diff)
downloadlinux-dev-d8d2061590c87c20bf78133461bc74df78803ecb.tar.xz
linux-dev-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.c2
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;