svn commit: r335170 - head/sys/dev/flash
Emmanuel Vadot
manu at FreeBSD.org
Thu Jun 14 19:01:41 UTC 2018
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 <ohartmann at walstatt.org>
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
More information about the svn-src-head
mailing list