diff --git a/sys/dev/spibus/spibus.c b/sys/dev/spibus/spibus.c index aced1b0f37e9..a773b6767a5c 100644 --- a/sys/dev/spibus/spibus.c +++ b/sys/dev/spibus/spibus.c @@ -156,6 +156,7 @@ spibus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) break; case SPIBUS_IVAR_CLOCK: *(uint32_t *)result = devi->clock; + break; } return (0); }