aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/therm_adt746x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh/therm_adt746x.c')
-rw-r--r--drivers/macintosh/therm_adt746x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c
index 5e1f5e9653cb..5ebfd1d138da 100644
--- a/drivers/macintosh/therm_adt746x.c
+++ b/drivers/macintosh/therm_adt746x.c
@@ -176,9 +176,9 @@ detach_thermostat(struct i2c_adapter *adapter)
176} 176}
177 177
178static struct i2c_driver thermostat_driver = { 178static struct i2c_driver thermostat_driver = {
179 .owner = THIS_MODULE, 179 .driver = {
180 .name = "therm_adt746x", 180 .name = "therm_adt746x",
181 .flags = I2C_DF_NOTIFY, 181 },
182 .attach_adapter = attach_thermostat, 182 .attach_adapter = attach_thermostat,
183 .detach_adapter = detach_thermostat, 183 .detach_adapter = detach_thermostat,
184}; 184};