Skip to content

Commit

Permalink
[PATCH] Add zorro_bus_type probe and remove methods
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Russell King authored and Greg Kroah-Hartman committed Jan 13, 2006
1 parent ac33bc3 commit b6a01e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/zorro/zorro-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
};


Expand Down

0 comments on commit b6a01e9

Please sign in to comment.