]> err.no Git - linux-2.6/blobdiff - drivers/macintosh/macio_asic.c
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / drivers / macintosh / macio_asic.c
index 2a545ceb523b05cfb57fdf20b8c79e1ca1f5ca2e..ed6d3174d66050f1ca3358909469770682111243 100644 (file)
@@ -211,6 +211,9 @@ struct bus_type macio_bus_type = {
        .name   = "macio",
        .match  = macio_bus_match,
        .uevent = macio_uevent,
+       .probe  = macio_device_probe,
+       .remove = macio_device_remove,
+       .shutdown = macio_device_shutdown,
        .suspend        = macio_device_suspend,
        .resume = macio_device_resume,
        .dev_attrs = macio_dev_attrs,
@@ -528,9 +531,6 @@ int macio_register_driver(struct macio_driver *drv)
        /* initialize common driver fields */
        drv->driver.name = drv->name;
        drv->driver.bus = &macio_bus_type;
-       drv->driver.probe = macio_device_probe;
-       drv->driver.remove = macio_device_remove;
-       drv->driver.shutdown = macio_device_shutdown;
 
        /* register with core */
        count = driver_register(&drv->driver);