diff options
Diffstat (limited to 'drivers/hwmon/lm90.c')
-rw-r--r-- | drivers/hwmon/lm90.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index 011923b7091d..ff7ba1e1bcc7 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c | |||
@@ -186,8 +186,10 @@ static struct lm90_data *lm90_update_device(struct device *dev); | |||
186 | */ | 186 | */ |
187 | 187 | ||
188 | static struct i2c_driver lm90_driver = { | 188 | static struct i2c_driver lm90_driver = { |
189 | .owner = THIS_MODULE, | 189 | .driver = { |
190 | .name = "lm90", | 190 | .owner = THIS_MODULE, |
191 | .name = "lm90", | ||
192 | }, | ||
191 | .id = I2C_DRIVERID_LM90, | 193 | .id = I2C_DRIVERID_LM90, |
192 | .attach_adapter = lm90_attach_adapter, | 194 | .attach_adapter = lm90_attach_adapter, |
193 | .detach_client = lm90_detach_client, | 195 | .detach_client = lm90_detach_client, |