| 213 | } |
| 214 | |
| 215 | static int bus_probe_driver(rt_device_t dev, void *drv_ptr) |
| 216 | { |
| 217 | bus_probe(drv_ptr, dev); |
| 218 | |
| 219 | /* |
| 220 | * The driver is shared by multiple devices, |
| 221 | * so we always return the '1' to enumerate all devices. |
| 222 | */ |
| 223 | return 1; |
| 224 | } |
| 225 | |
| 226 | static int bus_probe_device(rt_driver_t drv, void *dev_ptr) |
| 227 | { |
nothing calls this directly
no test coverage detected