Author: imp
Date: Fri May 22 05:02:53 2015
New Revision: 283277
URL: https://svnweb.freebsd.org/changeset/base/283277

Log:
  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...

Modified:
  head/sys/arm/at91/at91_pio.c

Modified: head/sys/arm/at91/at91_pio.c
==============================================================================
--- head/sys/arm/at91/at91_pio.c        Fri May 22 03:16:18 2015        
(r283276)
+++ head/sys/arm/at91/at91_pio.c        Fri May 22 05:02:53 2015        
(r283277)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to