diff options
Diffstat (limited to 'drivers/hwmon/lm77.c')
-rw-r--r-- | drivers/hwmon/lm77.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/lm77.c b/drivers/hwmon/lm77.c index 9380fda7dcd1..a2f420d01fb7 100644 --- a/drivers/hwmon/lm77.c +++ b/drivers/hwmon/lm77.c | |||
@@ -74,9 +74,9 @@ static struct lm77_data *lm77_update_device(struct device *dev); | |||
74 | 74 | ||
75 | /* This is the driver that will be inserted */ | 75 | /* This is the driver that will be inserted */ |
76 | static struct i2c_driver lm77_driver = { | 76 | static struct i2c_driver lm77_driver = { |
77 | .owner = THIS_MODULE, | 77 | .driver = { |
78 | .name = "lm77", | 78 | .name = "lm77", |
79 | .flags = I2C_DF_NOTIFY, | 79 | }, |
80 | .attach_adapter = lm77_attach_adapter, | 80 | .attach_adapter = lm77_attach_adapter, |
81 | .detach_client = lm77_detach_client, | 81 | .detach_client = lm77_detach_client, |
82 | }; | 82 | }; |