summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/at91/at91.c')
-rw-r--r--sys/arm/at91/at91.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c
index a3f9556..6deee42 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;
OpenPOWER on IntegriCloud