From f94de27bbde7192dfb01382376eda4be9de4f1e6 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 19 Dec 2003 05:55:12 +0000 Subject: Const poison the channel name. --- sys/dev/pci/pciidevar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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 */ -- cgit