aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/therm_adt746x.c6
-rw-r--r--drivers/macintosh/therm_pm72.c6
-rw-r--r--drivers/macintosh/therm_windtunnel.c6
-rw-r--r--drivers/macintosh/windfarm_lm75_sensor.c6
4 files changed, 12 insertions, 12 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};
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c
index 435427daed75..8d0958c38b6b 100644
--- a/drivers/macintosh/therm_pm72.c
+++ b/drivers/macintosh/therm_pm72.c
@@ -283,9 +283,9 @@ static int therm_pm72_detach(struct i2c_adapter *adapter);
283 283
284static struct i2c_driver therm_pm72_driver = 284static struct i2c_driver therm_pm72_driver =
285{ 285{
286 .owner = THIS_MODULE, 286 .driver = {
287 .name = "therm_pm72", 287 .name = "therm_pm72",
288 .flags = I2C_DF_NOTIFY, 288 },
289 .attach_adapter = therm_pm72_attach, 289 .attach_adapter = therm_pm72_attach,
290 .detach_adapter = therm_pm72_detach, 290 .detach_adapter = therm_pm72_detach,
291}; 291};
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c
index 6aaa1df1a64e..3d9dd2e166aa 100644
--- a/drivers/macintosh/therm_windtunnel.c
+++ b/drivers/macintosh/therm_windtunnel.c
@@ -354,10 +354,10 @@ do_detach( struct i2c_client *client )
354} 354}
355 355
356static struct i2c_driver g4fan_driver = { 356static struct i2c_driver g4fan_driver = {
357 .owner = THIS_MODULE, 357 .driver = {
358 .name = "therm_windtunnel", 358 .name = "therm_windtunnel",
359 },
359 .id = I2C_DRIVERID_G4FAN, 360 .id = I2C_DRIVERID_G4FAN,
360 .flags = I2C_DF_NOTIFY,
361 .attach_adapter = do_attach, 361 .attach_adapter = do_attach,
362 .detach_client = do_detach, 362 .detach_client = do_detach,
363}; 363};
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c
index c62ed68a3138..57460e46c89f 100644
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -47,9 +47,9 @@ static int wf_lm75_attach(struct i2c_adapter *adapter);
47static int wf_lm75_detach(struct i2c_client *client); 47static int wf_lm75_detach(struct i2c_client *client);
48 48
49static struct i2c_driver wf_lm75_driver = { 49static struct i2c_driver wf_lm75_driver = {
50 .owner = THIS_MODULE, 50 .driver = {
51 .name = "wf_lm75", 51 .name = "wf_lm75",
52 .flags = I2C_DF_NOTIFY, 52 },
53 .attach_adapter = wf_lm75_attach, 53 .attach_adapter = wf_lm75_attach,
54 .detach_client = wf_lm75_detach, 54 .detach_client = wf_lm75_detach,
55}; 55};