diff options
Diffstat (limited to 'drivers/hwmon/lm90.c')
-rw-r--r-- | drivers/hwmon/lm90.c | 5 |
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 | ||
155 | static int lm90_detect(struct i2c_client *client, int kind, | 155 | static int lm90_detect(struct i2c_client *client, struct i2c_board_info *info); |
156 | struct i2c_board_info *info); | ||
157 | static int lm90_probe(struct i2c_client *client, | 156 | static int lm90_probe(struct i2c_client *client, |
158 | const struct i2c_device_id *id); | 157 | const struct i2c_device_id *id); |
159 | static void lm90_init_client(struct i2c_client *client); | 158 | static 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 */ |
659 | static int lm90_detect(struct i2c_client *new_client, int kind, | 658 | static 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; |