diff options
author | Russell King <rmk@arm.linux.org.uk> | 2006-01-05 09:44:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 14:26:10 -0500 |
commit | fc3d3ddd3e628d9f22d4aa56a640d0b31c977a8f (patch) | |
tree | 78d353c96c168963c12a666bcfabaf87df6cec99 /drivers | |
parent | b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a (diff) |
[PATCH] Add rio_bus_type probe and remove methods
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rapidio/rio-driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rapidio/rio-driver.c b/drivers/rapidio/rio-driver.c index dc749609699a..5480119ff9d3 100644 --- a/drivers/rapidio/rio-driver.c +++ b/drivers/rapidio/rio-driver.c | |||
@@ -147,8 +147,6 @@ int rio_register_driver(struct rio_driver *rdrv) | |||
147 | /* initialize common driver fields */ | 147 | /* initialize common driver fields */ |
148 | rdrv->driver.name = rdrv->name; | 148 | rdrv->driver.name = rdrv->name; |
149 | rdrv->driver.bus = &rio_bus_type; | 149 | rdrv->driver.bus = &rio_bus_type; |
150 | rdrv->driver.probe = rio_device_probe; | ||
151 | rdrv->driver.remove = rio_device_remove; | ||
152 | 150 | ||
153 | /* register with core */ | 151 | /* register with core */ |
154 | return driver_register(&rdrv->driver); | 152 | return driver_register(&rdrv->driver); |
@@ -204,7 +202,9 @@ static struct device rio_bus = { | |||
204 | struct bus_type rio_bus_type = { | 202 | struct bus_type rio_bus_type = { |
205 | .name = "rapidio", | 203 | .name = "rapidio", |
206 | .match = rio_match_bus, | 204 | .match = rio_match_bus, |
207 | .dev_attrs = rio_dev_attrs | 205 | .dev_attrs = rio_dev_attrs, |
206 | .probe = rio_device_probe, | ||
207 | .remove = rio_device_remove, | ||
208 | }; | 208 | }; |
209 | 209 | ||
210 | /** | 210 | /** |