[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>

authored by Russell King and committed by Greg Kroah-Hartman fc3d3ddd b6a01e9b

+3 -3
+3 -3
drivers/rapidio/rio-driver.c
··· 147 147 /* initialize common driver fields */ 148 148 rdrv->driver.name = rdrv->name; 149 149 rdrv->driver.bus = &rio_bus_type; 150 - rdrv->driver.probe = rio_device_probe; 151 - rdrv->driver.remove = rio_device_remove; 152 150 153 151 /* register with core */ 154 152 return driver_register(&rdrv->driver); ··· 202 204 struct bus_type rio_bus_type = { 203 205 .name = "rapidio", 204 206 .match = rio_match_bus, 205 - .dev_attrs = rio_dev_attrs 207 + .dev_attrs = rio_dev_attrs, 208 + .probe = rio_device_probe, 209 + .remove = rio_device_remove, 206 210 }; 207 211 208 212 /**