diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/macintosh/therm_adt746x.c | 6 | ||||
-rw-r--r-- | drivers/macintosh/therm_pm72.c | 6 | ||||
-rw-r--r-- | drivers/macintosh/therm_windtunnel.c | 6 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_lm75_sensor.c | 6 |
4 files changed, 16 insertions, 8 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 | ||
173 | static struct i2c_driver thermostat_driver = { | 173 | static 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 | }; |
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index df00c960fc5a..97807be6422b 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c | |||
@@ -283,8 +283,10 @@ static int therm_pm72_detach(struct i2c_adapter *adapter); | |||
283 | 283 | ||
284 | static struct i2c_driver therm_pm72_driver = | 284 | static struct i2c_driver therm_pm72_driver = |
285 | { | 285 | { |
286 | .owner = THIS_MODULE, | 286 | .driver = { |
287 | .name = "therm_pm72", | 287 | .owner = THIS_MODULE, |
288 | .name = "therm_pm72", | ||
289 | }, | ||
288 | .attach_adapter = therm_pm72_attach, | 290 | .attach_adapter = therm_pm72_attach, |
289 | .detach_adapter = therm_pm72_detach, | 291 | .detach_adapter = therm_pm72_detach, |
290 | }; | 292 | }; |
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index f3bae0d00ed2..259f19d5816c 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -354,8 +354,10 @@ do_detach( struct i2c_client *client ) | |||
354 | } | 354 | } |
355 | 355 | ||
356 | static struct i2c_driver g4fan_driver = { | 356 | static struct i2c_driver g4fan_driver = { |
357 | .owner = THIS_MODULE, | 357 | .driver = { |
358 | .name = "therm_windtunnel", | 358 | .owner = THIS_MODULE, |
359 | .name = "therm_windtunnel", | ||
360 | }, | ||
359 | .id = I2C_DRIVERID_G4FAN, | 361 | .id = I2C_DRIVERID_G4FAN, |
360 | .attach_adapter = do_attach, | 362 | .attach_adapter = do_attach, |
361 | .detach_client = do_detach, | 363 | .detach_client = do_detach, |
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c index 2392789ccf32..555d0e4eda1d 100644 --- a/drivers/macintosh/windfarm_lm75_sensor.c +++ b/drivers/macintosh/windfarm_lm75_sensor.c | |||
@@ -47,8 +47,10 @@ static int wf_lm75_attach(struct i2c_adapter *adapter); | |||
47 | static int wf_lm75_detach(struct i2c_client *client); | 47 | static int wf_lm75_detach(struct i2c_client *client); |
48 | 48 | ||
49 | static struct i2c_driver wf_lm75_driver = { | 49 | static struct i2c_driver wf_lm75_driver = { |
50 | .owner = THIS_MODULE, | 50 | .driver = { |
51 | .name = "wf_lm75", | 51 | .owner = THIS_MODULE, |
52 | .name = "wf_lm75", | ||
53 | }, | ||
52 | .attach_adapter = wf_lm75_attach, | 54 | .attach_adapter = wf_lm75_attach, |
53 | .detach_client = wf_lm75_detach, | 55 | .detach_client = wf_lm75_detach, |
54 | }; | 56 | }; |