summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-10-17 18:22:14 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-10-17 18:22:14 +0000
commitabd6ba8232f03cf1d3a0a33b58e2c5d748a68946 (patch)
tree40ce6ef800685a56fd6034aca539962e4151d6eb /sys/dev/pci
parent49b88edc0d73b18e5d092242bf203f017831375b (diff)
Constify channel name.
Diffstat (limited to 'sys/dev/pci')
-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 de1d5c98047..3230643932f 100644
--- a/sys/dev/pci/pciidevar.h
+++ b/sys/dev/pci/pciidevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciidevar.h,v 1.11 2004/10/17 18:16:12 grange Exp $ */
+/* $OpenBSD: pciidevar.h,v 1.12 2004/10/17 18:22:13 grange Exp $ */
/* $NetBSD: pciidevar.h,v 1.6 2001/01/12 16:04:00 bouyer Exp $ */
/*
@@ -78,7 +78,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 hw_ok; /* hardware mapped & OK? */
int compat; /* is it compat? */
int dma_in_progress;