summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr/if_sr_pci.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
commit1b46557c21ab146b0e43c06a8e1e922202afd373 (patch)
tree1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/dev/sr/if_sr_pci.c
parent2d9e52659ce15a8f818a51abfda4613167fdc974 (diff)
downloadFreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip
FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/dev/sr/if_sr_pci.c')
-rw-r--r--sys/dev/sr/if_sr_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c
index 02a32e0..41a5ec3 100644
--- a/sys/dev/sr/if_sr_pci.c
+++ b/sys/dev/sr/if_sr_pci.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_sr_p.c,v 1.5 1997/09/02 20:06:27 bde Exp $
+ * $Id: if_sr_p.c,v 1.6 1998/02/09 06:10:52 eivind Exp $
*/
#include "pci.h"
@@ -54,7 +54,7 @@ extern void *srattach_pci(int unit,
vm_offset_t sca_vaddr);
extern void srintr_hc(void *hc);
-static char *sr_pci_probe(pcici_t tag, pcidi_t type);
+static const char *sr_pci_probe(pcici_t tag, pcidi_t type);
static void sr_pci_attach(pcici_t config_id, int unit);
static u_long src_count = NSR;
@@ -69,7 +69,7 @@ static struct pci_device sr_pci_driver =
DATA_SET (pcidevice_set, sr_pci_driver);
-static char *
+static const char *
sr_pci_probe(pcici_t tag, pcidi_t type)
{
switch(type) {
OpenPOWER on IntegriCloud