diff options
Diffstat (limited to 'drivers/rapidio/rio-driver.c')
| -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 | /** |
