Author: marcel
Date: Tue Nov 27 01:10:58 2012
New Revision: 243580
URL: http://svnweb.freebsd.org/changeset/base/243580

Log:
  Allow building LINT by defining both SAMPLE_AT_RESET on the one hand
  and SAMPLE_AT_RESET_{LO|HI} on the other. It doesn't matter which
  values they take, as long as they are defined.

Modified:
  head/sys/arm/mv/mvreg.h

Modified: head/sys/arm/mv/mvreg.h
==============================================================================
--- head/sys/arm/mv/mvreg.h     Tue Nov 27 01:08:05 2012        (r243579)
+++ head/sys/arm/mv/mvreg.h     Tue Nov 27 01:10:58 2012        (r243580)
@@ -336,14 +336,15 @@
 #define SAMPLE_AT_RESET                0x10
 #elif defined(SOC_MV_KIRKWOOD)
 #define SAMPLE_AT_RESET                0x30
-#elif defined(SOC_MV_DISCOVERY)
+#elif defined(SOC_MV_FREY)
+#define SAMPLE_AT_RESET                0x100
+#endif
+#if defined(SOC_MV_DISCOVERY)
 #define SAMPLE_AT_RESET_LO     0x30
 #define SAMPLE_AT_RESET_HI     0x34
 #elif defined(SOC_MV_DOVE)
 #define SAMPLE_AT_RESET_LO     0x14
 #define SAMPLE_AT_RESET_HI     0x18
-#elif defined(SOC_MV_FREY)
-#define SAMPLE_AT_RESET                0x100
 #elif defined(SOC_MV_ARMADAXP)
 #define SAMPLE_AT_RESET_LO     0x30
 #define SAMPLE_AT_RESET_HI     0x34
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to