Skip to content

Commit

Permalink
[PATCH] Add rio_bus_type probe and remove methods
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Russell King authored and gregkh committed Jan 13, 2006
1 parent b6a01e9 commit fc3d3dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/rapidio/rio-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ int rio_register_driver(struct rio_driver *rdrv)
/* initialize common driver fields */
rdrv->driver.name = rdrv->name;
rdrv->driver.bus = &rio_bus_type;
rdrv->driver.probe = rio_device_probe;
rdrv->driver.remove = rio_device_remove;

/* register with core */
return driver_register(&rdrv->driver);
Expand Down Expand Up @@ -204,7 +202,9 @@ static struct device rio_bus = {
struct bus_type rio_bus_type = {
.name = "rapidio",
.match = rio_match_bus,
.dev_attrs = rio_dev_attrs
.dev_attrs = rio_dev_attrs,
.probe = rio_device_probe,
.remove = rio_device_remove,
};

/**
Expand Down

0 comments on commit fc3d3dd

Please sign in to comment.