From rmk+greg=kroah.com@arm.linux.org.uk Thu Jan 5 06:48:59 2006 From: Russell King CC: Greg K-H , M68K Subject: [CFT 27/29] Add zorro_bus_type probe and remove methods Date: Thu, 05 Jan 2006 14:43:43 +0000 Message-ID: <20060105142951.13.27@flint.arm.linux.org.uk> Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- drivers/zorro/zorro-driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- gregkh-2.6.orig/drivers/zorro/zorro-driver.c +++ gregkh-2.6/drivers/zorro/zorro-driver.c @@ -77,7 +77,6 @@ int zorro_register_driver(struct zorro_d /* initialize common driver fields */ drv->driver.name = drv->name; drv->driver.bus = &zorro_bus_type; - drv->driver.probe = zorro_device_probe; /* register with core */ count = driver_register(&drv->driver); @@ -132,7 +131,8 @@ static int zorro_bus_match(struct device struct bus_type zorro_bus_type = { .name = "zorro", - .match = zorro_bus_match + .match = zorro_bus_match, + .probe = zorro_device_probe, };