Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hpc Add const to the name fields in hipcio_chip and ...
details: https://anonhg.NetBSD.org/src/rev/8e43ca651dcb
branches: trunk
changeset: 581841:8e43ca651dcb
user: he <he%NetBSD.org@localhost>
date: Tue Jun 07 11:43:01 2005 +0000
description:
Add const to the name fields in hipcio_chip and hpcio_attach_args.
diffstat:
sys/dev/hpc/hpciovar.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9b6e2f827901 -r 8e43ca651dcb sys/dev/hpc/hpciovar.h
--- a/sys/dev/hpc/hpciovar.h Tue Jun 07 11:33:55 2005 +0000
+++ b/sys/dev/hpc/hpciovar.h Tue Jun 07 11:43:01 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpciovar.h,v 1.4 2001/06/04 18:59:32 uch Exp $ */
+/* $NetBSD: hpciovar.h,v 1.5 2005/06/07 11:43:01 he Exp $ */
/*-
* Copyright (c) 2001 TAKEMURA Shin.
@@ -38,7 +38,7 @@
typedef void *hpcio_intr_handle_t;
struct hpcio_chip {
int hc_chipid;
- char *hc_name;
+ const char *hc_name;
void *hc_sc;
int (*hc_portread)(hpcio_chip_t, int);
void (*hc_portwrite)(hpcio_chip_t, int, int);
@@ -52,7 +52,7 @@
};
struct hpcio_attach_args {
- char *haa_busname;
+ const char *haa_busname;
void *haa_sc;
hpcio_chip_t (*haa_getchip)(void*, int);
bus_space_tag_t haa_iot; /* I/O space tag */
Home |
Main Index |
Thread Index |
Old Index