summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ds1621.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/ds1621.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/ds1621.c')
-rw-r--r--drivers/hwmon/ds1621.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c
index c5afa00..34f71b7 100644
--- a/drivers/hwmon/ds1621.c
+++ b/drivers/hwmon/ds1621.c
@@ -186,8 +186,8 @@ static int ds1621_attach_adapter(struct i2c_adapter *adapter)
}
/* This function is called by i2c_probe */
-int ds1621_detect(struct i2c_adapter *adapter, int address,
- int kind)
+static int ds1621_detect(struct i2c_adapter *adapter, int address,
+ int kind)
{
int conf, temp;
struct i2c_client *new_client;
OpenPOWER on IntegriCloud