diff options
Diffstat (limited to 'drivers/hwmon/lm87.c')
-rw-r--r-- | drivers/hwmon/lm87.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index eeec18177861..6ba34c302d8d 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -161,10 +161,10 @@ static struct lm87_data *lm87_update_device(struct device *dev); | |||
161 | */ | 161 | */ |
162 | 162 | ||
163 | static struct i2c_driver lm87_driver = { | 163 | static struct i2c_driver lm87_driver = { |
164 | .owner = THIS_MODULE, | 164 | .driver = { |
165 | .name = "lm87", | 165 | .name = "lm87", |
166 | }, | ||
166 | .id = I2C_DRIVERID_LM87, | 167 | .id = I2C_DRIVERID_LM87, |
167 | .flags = I2C_DF_NOTIFY, | ||
168 | .attach_adapter = lm87_attach_adapter, | 168 | .attach_adapter = lm87_attach_adapter, |
169 | .detach_client = lm87_detach_client, | 169 | .detach_client = lm87_detach_client, |
170 | }; | 170 | }; |