From: Russell King Date: Thu, 5 Jan 2006 14:43:43 +0000 (+0000) Subject: [PATCH] Add zorro_bus_type probe and remove methods X-Git-Tag: v2.6.16-rc1~164^2~8 X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;h=b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a;p=linux-2.6-omap-h63xx.git [PATCH] Add zorro_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/zorro/zorro-driver.c b/drivers/zorro/zorro-driver.c index ccba227676f..fcbee748c59 100644 --- a/drivers/zorro/zorro-driver.c +++ b/drivers/zorro/zorro-driver.c @@ -77,7 +77,6 @@ int zorro_register_driver(struct zorro_driver *drv) /* 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 *dev, struct device_driver *drv) struct bus_type zorro_bus_type = { .name = "zorro", - .match = zorro_bus_match + .match = zorro_bus_match, + .probe = zorro_device_probe, };