diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c index a3f9556f5a00..6deee422cfd6 100644 --- a/sys/arm/at91/at91.c +++ b/sys/arm/at91/at91.c @@ -231,8 +231,7 @@ at91_probe(device_t dev) { device_set_desc(dev, "AT91 device bus"); - arm_post_filter = at91_eoi; - return (0); + return (BUS_PROBE_NO_WILDCARD); } static void @@ -261,6 +260,8 @@ at91_attach(device_t dev) const struct pmap_devmap *pdevmap; int i; + arm_post_filter = at91_eoi; + at91_softc = sc; sc->sc_st = &at91_bs_tag; sc->sc_sh = AT91_BASE;