Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 19:01:40 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335170 - head/sys/dev/flash
Message-ID:  <201806141901.w5EJ1eMt050542@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806141901.w5EJ1eMt050542>