diff options
author | Paul Mackerras <paulus@samba.org> | 2008-01-30 19:25:51 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-30 19:25:51 -0500 |
commit | bd45ac0c5daae35e7c71138172e63df5cf644cf6 (patch) | |
tree | 5eb5a599bf6a9d7a8a34e802db932aa9e9555de4 /drivers/macintosh/therm_windtunnel.c | |
parent | 4eece4ccf997c0e6d8fdad3d842e37b16b8d705f (diff) | |
parent | 5bdeae46be6dfe9efa44a548bd622af325f4bdb4 (diff) |
Merge branch 'linux-2.6'
Diffstat (limited to 'drivers/macintosh/therm_windtunnel.c')
-rw-r--r-- | drivers/macintosh/therm_windtunnel.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index 63ef1f6faaed..d11821af3b8d 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -48,12 +48,10 @@ | |||
48 | 48 | ||
49 | #define LOG_TEMP 0 /* continously log temperature */ | 49 | #define LOG_TEMP 0 /* continously log temperature */ |
50 | 50 | ||
51 | #define I2C_DRIVERID_G4FAN 0x9001 /* fixme */ | ||
52 | |||
53 | static int do_probe( struct i2c_adapter *adapter, int addr, int kind); | 51 | static int do_probe( struct i2c_adapter *adapter, int addr, int kind); |
54 | 52 | ||
55 | /* scan 0x48-0x4f (DS1775) and 0x2c-2x2f (ADM1030) */ | 53 | /* scan 0x48-0x4f (DS1775) and 0x2c-2x2f (ADM1030) */ |
56 | static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, | 54 | static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, |
57 | 0x4c, 0x4d, 0x4e, 0x4f, | 55 | 0x4c, 0x4d, 0x4e, 0x4f, |
58 | 0x2c, 0x2d, 0x2e, 0x2f, | 56 | 0x2c, 0x2d, 0x2e, 0x2f, |
59 | I2C_CLIENT_END }; | 57 | I2C_CLIENT_END }; |
@@ -361,7 +359,6 @@ static struct i2c_driver g4fan_driver = { | |||
361 | .driver = { | 359 | .driver = { |
362 | .name = "therm_windtunnel", | 360 | .name = "therm_windtunnel", |
363 | }, | 361 | }, |
364 | .id = I2C_DRIVERID_G4FAN, | ||
365 | .attach_adapter = do_attach, | 362 | .attach_adapter = do_attach, |
366 | .detach_client = do_detach, | 363 | .detach_client = do_detach, |
367 | }; | 364 | }; |