aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm90.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm90.c')
-rw-r--r--drivers/hwmon/lm90.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index b7c905f50ed4..3acbacadac77 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
@@ -152,8 +152,7 @@ I2C_CLIENT_INSMOD_8(lm90, adm1032, lm99, lm86, max6657, adt7461, max6680,
152 * Functions declaration 152 * Functions declaration
153 */ 153 */
154 154
155static int lm90_detect(struct i2c_client *client, int kind, 155static int lm90_detect(struct i2c_client *client, struct i2c_board_info *info);
156 struct i2c_board_info *info);
157static int lm90_probe(struct i2c_client *client, 156static int lm90_probe(struct i2c_client *client,
158 const struct i2c_device_id *id); 157 const struct i2c_device_id *id);
159static void lm90_init_client(struct i2c_client *client); 158static void lm90_init_client(struct i2c_client *client);
@@ -656,7 +655,7 @@ static int lm90_read_reg(struct i2c_client* client, u8 reg, u8 *value)
656} 655}
657 656
658/* Return 0 if detection is successful, -ENODEV otherwise */ 657/* Return 0 if detection is successful, -ENODEV otherwise */
659static int lm90_detect(struct i2c_client *new_client, int kind, 658static int lm90_detect(struct i2c_client *new_client,
660 struct i2c_board_info *info) 659 struct i2c_board_info *info)
661{ 660{
662 struct i2c_adapter *adapter = new_client->adapter; 661 struct i2c_adapter *adapter = new_client->adapter;