diff options
Diffstat (limited to 'drivers/macintosh/therm_windtunnel.c')
-rw-r--r-- | drivers/macintosh/therm_windtunnel.c | 6 |
1 files changed, 4 insertions, 2 deletions
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, |