diff options
| author | Warner Losh <imp@FreeBSD.org> | 2024-10-15 10:59:29 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-10-15 10:59:29 +0000 |
| commit | 76bfa33f259891a8b9108e20141bd18e2c8d312f (patch) | |
| tree | 9d39b86108ae3a30c2a785dd4aae1f39ae3c42a8 /sys/dev/uart | |
| parent | 28ce46d8625d127a60dd4bb4fb721e5cbbd4096c (diff) | |
Diffstat (limited to 'sys/dev/uart')
| -rw-r--r-- | sys/dev/uart/uart_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index d0c4a54c8038..e608d6c95ead 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -571,7 +571,7 @@ uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int error = UART_PROBE(sc); bus_release_resource(dev, sc->sc_rtype, sc->sc_rrid, sc->sc_rres); - return ((error) ? error : BUS_PROBE_DEFAULT); + return ((error) ? error : 0); } int |
