Author: manu
Date: Thu Jun 14 19:01:40 2018
New Revision: 335170
URL: https://svnweb.freebsd.org/changeset/base/335170

Log:
  mx25l: compat_data is only defined when FDT is
  
  Reported by:  O. Hartmann <[email protected]>

Modified:
  head/sys/dev/flash/mx25l.c

Modified: head/sys/dev/flash/mx25l.c
==============================================================================
--- head/sys/dev/flash/mx25l.c  Thu Jun 14 18:50:49 2018        (r335169)
+++ head/sys/dev/flash/mx25l.c  Thu Jun 14 19:01:40 2018        (r335170)
@@ -684,4 +684,6 @@ static driver_t mx25l_driver = {
 
 DRIVER_MODULE(mx25l, spibus, mx25l_driver, mx25l_devclass, 0, 0);
 MODULE_DEPEND(mx25l, spibus, 1, 1, 1);
+#ifdef FDT
 SPIBUS_PNP_INFO(compat_data);
+#endif
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to