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, 4 insertions, 2 deletions
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c
index f62c16fab42b..8bb1d857e14d 100644
--- a/drivers/macintosh/therm_adt746x.c
+++ b/drivers/macintosh/therm_adt746x.c
@@ -171,8 +171,10 @@ detach_thermostat(struct i2c_adapter *adapter)
171} 171}
172 172
173static struct i2c_driver thermostat_driver = { 173static struct i2c_driver thermostat_driver = {
174 .owner = THIS_MODULE, 174 .driver = {
175 .name = "therm_adt746x", 175 .owner = THIS_MODULE,
176 .name = "therm_adt746x",
177 },
176 .attach_adapter = attach_thermostat, 178 .attach_adapter = attach_thermostat,
177 .detach_adapter = detach_thermostat, 179 .detach_adapter = detach_thermostat,
178}; 180};