Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/dev Allow compilation without MQ200_DEBUG: ...



details:   https://anonhg.NetBSD.org/src/rev/624882d7a09c
branches:  trunk
changeset: 565398:624882d7a09c
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Apr 06 16:49:56 2004 +0000

description:
Allow compilation without MQ200_DEBUG:  mq200_clknames is used outside of
debugging-only code.

diffstat:

 sys/arch/hpcmips/dev/mq200debug.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 305ec979ac9b -r 624882d7a09c sys/arch/hpcmips/dev/mq200debug.c
--- a/sys/arch/hpcmips/dev/mq200debug.c Tue Apr 06 16:37:58 2004 +0000
+++ b/sys/arch/hpcmips/dev/mq200debug.c Tue Apr 06 16:49:56 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mq200debug.c,v 1.2 2003/07/15 02:29:29 lukem Exp $     */
+/*     $NetBSD: mq200debug.c,v 1.3 2004/04/06 16:49:56 tv Exp $        */
 
 /*-
  * Copyright (c) 2001 TAKEMURA Shin
@@ -31,7 +31,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mq200debug.c,v 1.2 2003/07/15 02:29:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mq200debug.c,v 1.3 2004/04/06 16:49:56 tv Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -52,9 +52,9 @@
 
 #define ENABLE(b)      ((b)?"enable":"disable")
 
-#ifdef MQ200_DEBUG
+char *mq200_clknames[] = { "BUS", "PLL1", "PLL2", "PLL3" };
 
-char *mq200_clknames[] = { "BUS", "PLL1", "PLL2", "PLL3" };
+#ifdef MQ200_DEBUG
 
 void
 mq200_dump_pll(struct mq200_softc *sc)



Home | Main Index | Thread Index | Old Index