diff options
author | Warner Losh <imp@FreeBSD.org> | 2015-05-22 05:02:53 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2015-05-22 05:02:53 +0000 |
commit | c0b346c47dd3e779768cea526ca749c79b6ebd40 (patch) | |
tree | d4e975379ab45cb3cd5c966fe5ae0c764d0b3e93 /sys/arm/at91/at91_pio.c | |
parent | 5b03aba6c8aecab2d9c302392ae2c791cd13f4c6 (diff) | |
download | src-c0b346c47dd3e779768cea526ca749c79b6ebd40.tar.gz src-c0b346c47dd3e779768cea526ca749c79b6ebd40.zip |
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...
Notes
Notes:
svn path=/head/; revision=283277
Diffstat (limited to 'sys/arm/at91/at91_pio.c')
-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 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 |