In uart_bus_probe() return BUS_PROBE_DEFAULT when the probe is

successful.
This commit is contained in:
Marcel Moolenaar 2005-10-28 06:30:39 +00:00
parent 3a45066f19
commit b923a71020

View File

@ -282,7 +282,7 @@ uart_bus_probe(device_t dev, int regshft, int rclk, int rid, int chan)
error = UART_PROBE(sc);
bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres);
return (error);
return ((error) ? error : BUS_PROBE_DEFAULT);
}
int