diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
commit | 1b46557c21ab146b0e43c06a8e1e922202afd373 (patch) | |
tree | 1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/dev/dpt/dpt_pci.c | |
parent | 2d9e52659ce15a8f818a51abfda4613167fdc974 (diff) | |
download | FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz |
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/dev/dpt/dpt_pci.c')
-rw-r--r-- | sys/dev/dpt/dpt_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index b704fca..7bf0e26 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -32,7 +32,7 @@ * dptpci.c: PCI Bus Attachment for DPT SCSI HBAs */ -#ident "$Id: dpt_pci.c,v 1.9 1998/10/07 03:40:51 gibbs Exp $" +#ident "$Id: dpt_pci.c,v 1.10 1998/12/07 21:58:46 archie Exp $" #include "opt_devfs.h" #include "opt_dpt.h" @@ -64,7 +64,7 @@ /* Function Prototypes */ -static char *dpt_pci_probe(pcici_t tag, pcidi_t type); +static const char *dpt_pci_probe(pcici_t tag, pcidi_t type); static void dpt_pci_attach(pcici_t config_id, int unit); extern struct cdevsw dpt_cdevsw; @@ -86,7 +86,7 @@ DATA_SET(pcidevice_set, dpt_pci_driver); * because we do not know for sure how the two relate. */ -static char * +static const char * dpt_pci_probe(pcici_t tag, pcidi_t type) { u_int32_t class; |