diff options
Diffstat (limited to 'drivers/hwmon/lm75.c')
-rw-r--r-- | drivers/hwmon/lm75.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index d70f4c8fc1e6..74ca2c8c61c3 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c | |||
@@ -66,10 +66,10 @@ static struct lm75_data *lm75_update_device(struct device *dev); | |||
66 | 66 | ||
67 | /* This is the driver that will be inserted */ | 67 | /* This is the driver that will be inserted */ |
68 | static struct i2c_driver lm75_driver = { | 68 | static struct i2c_driver lm75_driver = { |
69 | .owner = THIS_MODULE, | 69 | .driver = { |
70 | .name = "lm75", | 70 | .name = "lm75", |
71 | }, | ||
71 | .id = I2C_DRIVERID_LM75, | 72 | .id = I2C_DRIVERID_LM75, |
72 | .flags = I2C_DF_NOTIFY, | ||
73 | .attach_adapter = lm75_attach_adapter, | 73 | .attach_adapter = lm75_attach_adapter, |
74 | .detach_client = lm75_detach_client, | 74 | .detach_client = lm75_detach_client, |
75 | }; | 75 | }; |