diff options
author | imp <imp@FreeBSD.org> | 2015-05-22 05:02:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2015-05-22 05:02:53 +0000 |
commit | d184c1c64fb2df10e443a62ee477ea8f16e1d7df (patch) | |
tree | d4e975379ab45cb3cd5c966fe5ae0c764d0b3e93 | |
parent | ef6ca4337dbbc940f520cf42fcbaa689ee676850 (diff) | |
download | FreeBSD-src-d184c1c64fb2df10e443a62ee477ea8f16e1d7df.zip FreeBSD-src-d184c1c64fb2df10e443a62ee477ea8f16e1d7df.tar.gz |
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...
-rw-r--r-- | sys/arm/at91/at91_pio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/at91/at91_pio.c b/sys/arm/at91/at91_pio.c index ff36097..0de46c5 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 |