summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-12-19 05:55:12 +0000
committerthorpej <thorpej@NetBSD.org>2003-12-19 05:55:12 +0000
commitf94de27bbde7192dfb01382376eda4be9de4f1e6 (patch)
treeb3ca3e09327ba464050d4ecf963a389a1570750d /sys
parentdeed3938a296eefeb547e25b314fd7fc61770015 (diff)
Const poison the channel name.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pciidevar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciidevar.h b/sys/dev/pci/pciidevar.h
index c8e43286a7f..defbe445ee5 100644
--- a/sys/dev/pci/pciidevar.h
+++ b/sys/dev/pci/pciidevar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pciidevar.h,v 1.16 2003/12/19 05:16:57 thorpej Exp $ */
+/* $NetBSD: pciidevar.h,v 1.17 2003/12/19 05:55:12 thorpej Exp $ */
/*
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@@ -111,7 +111,7 @@ struct pciide_softc {
/* internal bookkeeping */
struct pciide_channel { /* per-channel data */
struct channel_softc wdc_channel; /* generic part */
- char *name;
+ const char *name;
int compat; /* is it compat? */
void *ih; /* compat or pci handle */
bus_space_handle_t ctl_baseioh; /* ctrl regs blk, native mode */