Messages in this thread Patch in this message | | | Subject | [CFT 10/29] Add parisc_bus_type probe and remove methods | Date | Thu, 05 Jan 2006 14:34:38 +0000 | From | Russell King <> |
| |
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
--- arch/parisc/kernel/drivers.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej -x .git linus/arch/parisc/kernel/drivers.c linux/arch/parisc/kernel/drivers.c --- linus/arch/parisc/kernel/drivers.c Sun Nov 6 22:14:46 2005 +++ linux/arch/parisc/kernel/drivers.c Sun Nov 13 16:08:49 2005 @@ -173,8 +173,6 @@ int register_parisc_driver(struct parisc WARN_ON(driver->drv.probe != NULL); WARN_ON(driver->drv.remove != NULL); - driver->drv.probe = parisc_driver_probe; - driver->drv.remove = parisc_driver_remove; driver->drv.name = driver->name; return driver_register(&driver->drv); @@ -570,6 +568,8 @@ struct bus_type parisc_bus_type = { .name = "parisc", .match = parisc_generic_match, .dev_attrs = parisc_device_attrs, + .probe = parisc_driver_probe, + .remove = parisc_driver_remove, }; /** - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |