Commit b6a01e9b authored by Russell King's avatar Russell King Committed by Greg Kroah-Hartman

[PATCH] Add zorro_bus_type probe and remove methods

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ac33bc3d
...@@ -77,7 +77,6 @@ int zorro_register_driver(struct zorro_driver *drv) ...@@ -77,7 +77,6 @@ int zorro_register_driver(struct zorro_driver *drv)
/* initialize common driver fields */ /* initialize common driver fields */
drv->driver.name = drv->name; drv->driver.name = drv->name;
drv->driver.bus = &zorro_bus_type; drv->driver.bus = &zorro_bus_type;
drv->driver.probe = zorro_device_probe;
/* register with core */ /* register with core */
count = driver_register(&drv->driver); count = driver_register(&drv->driver);
...@@ -132,7 +131,8 @@ static int zorro_bus_match(struct device *dev, struct device_driver *drv) ...@@ -132,7 +131,8 @@ static int zorro_bus_match(struct device *dev, struct device_driver *drv)
struct bus_type zorro_bus_type = { struct bus_type zorro_bus_type = {
.name = "zorro", .name = "zorro",
.match = zorro_bus_match .match = zorro_bus_match,
.probe = zorro_device_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment