Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Fix compile failure with clang.



details:   https://anonhg.NetBSD.org/src/rev/a6dbf84cd977
branches:  trunk
changeset: 806332:a6dbf84cd977
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Mon Feb 16 13:16:00 2015 +0000

description:
Fix compile failure with clang.
Pointed out by Herbert J. Skuhra.

diffstat:

 sys/dev/pci/if_iwm.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 86f115224c93 -r a6dbf84cd977 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Mon Feb 16 12:17:57 2015 +0000
+++ b/sys/dev/pci/if_iwm.c      Mon Feb 16 13:16:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwm.c,v 1.6 2015/02/14 05:00:23 nonaka Exp $        */
+/*     $NetBSD: if_iwm.c,v 1.7 2015/02/16 13:16:00 nonaka Exp $        */
 /*     OpenBSD: if_iwm.c,v 1.18 2015/02/11 01:12:42 brad Exp   */
 
 /*
@@ -105,7 +105,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.6 2015/02/14 05:00:23 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.7 2015/02/16 13:16:00 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -1800,6 +1800,7 @@
         return 0;
 }
 
+#if 0
 enum iwm_mvm_tx_fifo {
        IWM_MVM_TX_FIFO_BK = 0,
        IWM_MVM_TX_FIFO_BE,
@@ -1814,6 +1815,7 @@
         IWM_MVM_TX_FIFO_BE,
         IWM_MVM_TX_FIFO_BK,
 };
+#endif
 
 static void
 iwm_enable_txq(struct iwm_softc *sc, int qid, int fifo)



Home | Main Index | Thread Index | Old Index