From c0b346c47dd3e779768cea526ca749c79b6ebd40 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 22 May 2015 05:02:53 +0000 Subject: [PATCH] Need to handle the !FDT case still too... I thought in r270025 we wouldn't need it, but it appears that we still do for the moment... --- sys/arm/at91/at91_pio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/arm/at91/at91_pio.c b/sys/arm/at91/at91_pio.c index ff36097161e7..0de46c5b9ff1 100644 --- a/sys/arm/at91/at91_pio.c +++ b/sys/arm/at91/at91_pio.c @@ -646,5 +646,9 @@ static driver_t at91_pio_driver = { sizeof(struct at91_pio_softc), }; +#ifdef FDT EARLY_DRIVER_MODULE(at91_pio, at91_pinctrl, at91_pio_driver, at91_pio_devclass, NULL, NULL, BUS_PASS_INTERRUPT); +#else +DRIVER_MODULE(at91_pio, atmelarm, at91_pio_driver, at91_pio_devclass, NULL, NULL); +#endif