diff options
Diffstat (limited to 'drivers/hwmon/lm92.c')
-rw-r--r-- | drivers/hwmon/lm92.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c index 7a4b3701ed1a..b0c4cb730a7e 100644 --- a/drivers/hwmon/lm92.c +++ b/drivers/hwmon/lm92.c | |||
@@ -410,10 +410,10 @@ static int lm92_detach_client(struct i2c_client *client) | |||
410 | */ | 410 | */ |
411 | 411 | ||
412 | static struct i2c_driver lm92_driver = { | 412 | static struct i2c_driver lm92_driver = { |
413 | .owner = THIS_MODULE, | 413 | .driver = { |
414 | .name = "lm92", | 414 | .name = "lm92", |
415 | }, | ||
415 | .id = I2C_DRIVERID_LM92, | 416 | .id = I2C_DRIVERID_LM92, |
416 | .flags = I2C_DF_NOTIFY, | ||
417 | .attach_adapter = lm92_attach_adapter, | 417 | .attach_adapter = lm92_attach_adapter, |
418 | .detach_client = lm92_detach_client, | 418 | .detach_client = lm92_detach_client, |
419 | }; | 419 | }; |