aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm92.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm92.c')
-rw-r--r--drivers/hwmon/lm92.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c
index 2005a9ee61fb..b4e4a8409d01 100644
--- a/drivers/hwmon/lm92.c
+++ b/drivers/hwmon/lm92.c
@@ -410,8 +410,10 @@ static int lm92_detach_client(struct i2c_client *client)
410 */ 410 */
411 411
412static struct i2c_driver lm92_driver = { 412static struct i2c_driver lm92_driver = {
413 .owner = THIS_MODULE, 413 .driver = {
414 .name = "lm92", 414 .owner = THIS_MODULE,
415 .name = "lm92",
416 },
415 .id = I2C_DRIVERID_LM92, 417 .id = I2C_DRIVERID_LM92,
416 .attach_adapter = lm92_attach_adapter, 418 .attach_adapter = lm92_attach_adapter,
417 .detach_client = lm92_detach_client, 419 .detach_client = lm92_detach_client,