Skip to content

Commit

Permalink
[PATCH] Add dio_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 gregkh committed Jan 13, 2006
1 parent 2f53a80 commit 5b34bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/dio/dio-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ int dio_register_driver(struct dio_driver *drv)
/* initialize common driver fields */
drv->driver.name = drv->name;
drv->driver.bus = &dio_bus_type;
drv->driver.probe = dio_device_probe;

/* register with core */
count = driver_register(&drv->driver);
Expand Down Expand Up @@ -145,7 +144,8 @@ static int dio_bus_match(struct device *dev, struct device_driver *drv)

struct bus_type dio_bus_type = {
.name = "dio",
.match = dio_bus_match
.match = dio_bus_match,
.probe = dio_device_probe,
};


Expand Down

0 comments on commit 5b34bf8

Please sign in to comment.