Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/dev Fix const fallout.



details:   https://anonhg.NetBSD.org/src/rev/465f3cf35b18
branches:  trunk
changeset: 581601:465f3cf35b18
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jun 03 08:45:08 2005 +0000

description:
Fix const fallout.

diffstat:

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

diffs (35 lines):

diff -r fdc2fc08d08b -r 465f3cf35b18 sys/arch/mvme68k/dev/pcc.c
--- a/sys/arch/mvme68k/dev/pcc.c        Fri Jun 03 08:42:54 2005 +0000
+++ b/sys/arch/mvme68k/dev/pcc.c        Fri Jun 03 08:45:08 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcc.c,v 1.25 2003/07/15 02:43:46 lukem Exp $   */
+/*     $NetBSD: pcc.c,v 1.26 2005/06/03 08:45:08 scw Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcc.c,v 1.25 2003/07/15 02:43:46 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcc.c,v 1.26 2005/06/03 08:45:08 scw Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -106,14 +106,14 @@
  * Structure used to describe a device for autoconfiguration purposes.
  */
 struct pcc_device {
-       char *pcc_name;         /* name of device (e.g. "clock") */
+       const char *pcc_name;   /* name of device (e.g. "clock") */
        bus_addr_t pcc_offset;  /* offset from PCC base */
 };
 
 /*
  * Devices that live on the PCC, attached in this order.
  */
-static struct pcc_device pcc_devices[] = {
+static const struct pcc_device pcc_devices[] = {
        {"clock", 0},
        {"zsc", PCC_ZS0_OFF},
        {"zsc", PCC_ZS1_OFF},



Home | Main Index | Thread Index | Old Index