projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sky2: backout NAPI reschedule
[powerpc.git]
/
drivers
/
macintosh
/
therm_windtunnel.c
diff --git
a/drivers/macintosh/therm_windtunnel.c
b/drivers/macintosh/therm_windtunnel.c
index
cbb72eb
..
3d9dd2e
100644
(file)
--- a/
drivers/macintosh/therm_windtunnel.c
+++ b/
drivers/macintosh/therm_windtunnel.c
@@
-354,10
+354,10
@@
do_detach( struct i2c_client *client )
}
static struct i2c_driver g4fan_driver = {
}
static struct i2c_driver g4fan_driver = {
- .owner = THIS_MODULE,
- .name = "therm_windtunnel",
+ .driver = {
+ .name = "therm_windtunnel",
+ },
.id = I2C_DRIVERID_G4FAN,
.id = I2C_DRIVERID_G4FAN,
- .flags = I2C_DF_NOTIFY,
.attach_adapter = do_attach,
.detach_client = do_detach,
};
.attach_adapter = do_attach,
.detach_client = do_detach,
};
@@
-504,7
+504,7
@@
g4fan_init( void )
}
if( !(np=of_find_node_by_name(NULL, "fan")) )
return -ENODEV;
}
if( !(np=of_find_node_by_name(NULL, "fan")) )
return -ENODEV;
- x.of_dev = of_platform_device_create(
np, "temperature"
);
+ x.of_dev = of_platform_device_create(
np, "temperature", NULL
);
of_node_put( np );
if( !x.of_dev ) {
of_node_put( np );
if( !x.of_dev ) {