diff options
Diffstat (limited to 'drivers/macintosh/macio_asic.c')
-rw-r--r-- | drivers/macintosh/macio_asic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c index 2a545ceb523b..ed6d3174d660 100644 --- a/drivers/macintosh/macio_asic.c +++ b/drivers/macintosh/macio_asic.c | |||
@@ -211,6 +211,9 @@ struct bus_type macio_bus_type = { | |||
211 | .name = "macio", | 211 | .name = "macio", |
212 | .match = macio_bus_match, | 212 | .match = macio_bus_match, |
213 | .uevent = macio_uevent, | 213 | .uevent = macio_uevent, |
214 | .probe = macio_device_probe, | ||
215 | .remove = macio_device_remove, | ||
216 | .shutdown = macio_device_shutdown, | ||
214 | .suspend = macio_device_suspend, | 217 | .suspend = macio_device_suspend, |
215 | .resume = macio_device_resume, | 218 | .resume = macio_device_resume, |
216 | .dev_attrs = macio_dev_attrs, | 219 | .dev_attrs = macio_dev_attrs, |
@@ -528,9 +531,6 @@ int macio_register_driver(struct macio_driver *drv) | |||
528 | /* initialize common driver fields */ | 531 | /* initialize common driver fields */ |
529 | drv->driver.name = drv->name; | 532 | drv->driver.name = drv->name; |
530 | drv->driver.bus = &macio_bus_type; | 533 | drv->driver.bus = &macio_bus_type; |
531 | drv->driver.probe = macio_device_probe; | ||
532 | drv->driver.remove = macio_device_remove; | ||
533 | drv->driver.shutdown = macio_device_shutdown; | ||
534 | 534 | ||
535 | /* register with core */ | 535 | /* register with core */ |
536 | count = driver_register(&drv->driver); | 536 | count = driver_register(&drv->driver); |