From 35f069d08b51be1bccf4c57a22caeef766fae2de Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 14 Dec 1998 05:47:29 +0000 Subject: pci_device pd_probe function changed from returning char * to returning const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings. --- sys/pci/ahc_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/pci/ahc_pci.c') diff --git a/sys/pci/ahc_pci.c b/sys/pci/ahc_pci.c index 6c26c09a8ca1..fb53e9d107ea 100644 --- a/sys/pci/ahc_pci.c +++ b/sys/pci/ahc_pci.c @@ -34,7 +34,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ahc_pci.c,v 1.2 1998/10/07 03:40:51 gibbs Exp $ + * $Id: ahc_pci.c,v 1.3 1998/12/07 21:58:45 archie Exp $ */ #include @@ -138,7 +138,7 @@ static u_int8_t read_brdctl(struct ahc_softc *ahc); static struct ahc_softc *first_398X; -static char* ahc_pci_probe(pcici_t tag, pcidi_t type); +static const char* ahc_pci_probe(pcici_t tag, pcidi_t type); static void ahc_pci_attach(pcici_t config_id, int unit); /* Exported for use in the ahc_intr routine */ @@ -154,7 +154,7 @@ static struct pci_device ahc_pci_driver = { DATA_SET (pcidevice_set, ahc_pci_driver); -static char* +static const char* ahc_pci_probe (pcici_t tag, pcidi_t type) { switch (type) { -- cgit v1.2.3