git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
macintosh
/
therm_windtunnel.c
diff --git
a/drivers/macintosh/therm_windtunnel.c
b/drivers/macintosh/therm_windtunnel.c
index
7dbc5cb
..
897902b
100644
(file)
--- a/
drivers/macintosh/therm_windtunnel.c
+++ b/
drivers/macintosh/therm_windtunnel.c
@@
-353,12
+353,12
@@
do_detach( struct i2c_client *client )
}
static struct i2c_driver g4fan_driver = {
}
static struct i2c_driver g4fan_driver = {
- .name = "Apple G4 Thermostat/Fan",
+ .owner = THIS_MODULE,
+ .name = "therm_windtunnel",
.id = I2C_DRIVERID_G4FAN,
.flags = I2C_DF_NOTIFY,
.id = I2C_DRIVERID_G4FAN,
.flags = I2C_DF_NOTIFY,
- .attach_adapter = &do_attach,
- .detach_client = &do_detach,
- .command = NULL,
+ .attach_adapter = do_attach,
+ .detach_client = do_detach,
};
static int
};
static int