diff options
author | adrian <adrian@FreeBSD.org> | 2016-05-05 19:55:16 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-05-05 19:55:16 +0000 |
commit | 23979c2ef7b7af1eaa15474976fc7078fe9186ad (patch) | |
tree | 6bfd9b4a7b60878d37c4d5062da0c45a66dbbcd7 /sys/dev/bhnd | |
parent | 67670e1f19663a78fd3f925adbb7fcca210762f9 (diff) | |
download | FreeBSD-src-23979c2ef7b7af1eaa15474976fc7078fe9186ad.zip FreeBSD-src-23979c2ef7b7af1eaa15474976fc7078fe9186ad.tar.gz |
[bhnd] default to BUS_PROBE_DEFAULT for unknown BHND classes.
Found by: gcc-4.2
Diffstat (limited to 'sys/dev/bhnd')
-rw-r--r-- | sys/dev/bhnd/bhnd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bhnd/bhnd.c b/sys/dev/bhnd/bhnd.c index 01911f63..88b75ad 100644 --- a/sys/dev/bhnd/bhnd.c +++ b/sys/dev/bhnd/bhnd.c @@ -351,6 +351,8 @@ bhnd_generic_get_probe_order(device_t dev, device_t child) return (BHND_PROBE_ROOT + BHND_PROBE_ORDER_EARLY); return (BHND_PROBE_DEFAULT); + default: + return (BHND_PROBE_DEFAULT); } } |