X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhwmon%2Ffscpos.c;h=64e4edc64f8d40bcd93f8d0c4c4978b7dd9f6b2c;hb=a9931a6e37c09f6b76a9fa0cbd777c335548692b;hp=a378e4f5c93bd91a2e8ebb07eba6b61c2f042db3;hpb=ba9c2e8d15da029ea3051c95e446b2d638ef02e2;p=linux-2.6 diff --git a/drivers/hwmon/fscpos.c b/drivers/hwmon/fscpos.c index a378e4f5c9..64e4edc64f 100644 --- a/drivers/hwmon/fscpos.c +++ b/drivers/hwmon/fscpos.c @@ -438,7 +438,7 @@ static int fscpos_attach_adapter(struct i2c_adapter *adapter) return i2c_probe(adapter, &addr_data, fscpos_detect); } -int fscpos_detect(struct i2c_adapter *adapter, int address, int kind) +static int fscpos_detect(struct i2c_adapter *adapter, int address, int kind) { struct i2c_client *new_client; struct fscpos_data *data;