Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcsh/dev/hd64461 Fix constification fallout under ...



details:   https://anonhg.NetBSD.org/src/rev/5df184092fd4
branches:  trunk
changeset: 586812:5df184092fd4
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Jan 03 01:07:54 2006 +0000

description:
Fix constification fallout under #ifdef HD64461PCMCIA_DEBUG.

diffstat:

 sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a0e1a50e1bec -r 5df184092fd4 sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
--- a/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c        Tue Jan 03 01:06:45 2006 +0000
+++ b/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c        Tue Jan 03 01:07:54 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hd64461pcmcia.c,v 1.34 2006/01/03 01:06:45 uwe Exp $   */
+/*     $NetBSD: hd64461pcmcia.c,v 1.35 2006/01/03 01:07:54 uwe Exp $   */
 
 /*-
  * Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hd64461pcmcia.c,v 1.34 2006/01/03 01:06:45 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hd64461pcmcia.c,v 1.35 2006/01/03 01:07:54 uwe Exp $");
 
 #include "opt_hd64461pcmcia.h"
 
@@ -711,7 +711,7 @@
 {
        struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch;
 #ifdef HD64461PCMCIA_DEBUG
-       static char *width_names[] = { "auto", "io8", "io16" };
+       static const char *width_names[] = { "auto", "io8", "io16" };
 #endif
        if (ch->ch_channel == CHANNEL_1)
                return (1);



Home | Main Index | Thread Index | Old Index