diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2010-08-12 19:33:41 +0530 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2010-08-12 15:55:56 -0500 |
commit | 91e52003e2a38c27e059c45670d933fb3d9a3ba8 (patch) | |
tree | 4b145339ef09b41e8fbd35bb1d35ed521bf3c5dc /drivers | |
parent | 0dea408480c13b9cc111f73758f8fe4e6c662e3f (diff) |
Fix the warning warning: 'lm75_detect' defined but not used
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/lm75.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 71d3a750b253..2a5b12a1b81b 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -228,7 +228,7 @@ static const struct i2c_device_id lm75_ids[] = { MODULE_DEVICE_TABLE(i2c, lm75_ids); /* Return 0 if detection is successful, -ENODEV otherwise */ -static int lm75_detect(struct i2c_client *new_client, +static int __attribute__ ((unused)) lm75_detect(struct i2c_client *new_client, struct i2c_board_info *info) { struct i2c_adapter *adapter = new_client->adapter; |