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/pci/xrpu.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/pci/xrpu.c')
-rw-r--r-- | sys/pci/xrpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c index 6603315..1338c95 100644 --- a/sys/pci/xrpu.c +++ b/sys/pci/xrpu.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: xrpu.c,v 1.3 1998/10/24 19:47:42 phk Exp $ + * $Id: xrpu.c,v 1.4 1998/11/08 12:39:06 dfr Exp $ * * A very simple device driver for PCI cards based on Xilinx 6200 series * FPGA/RPU devices. Current Functionality is to allow you to open and @@ -29,7 +29,7 @@ #include <pci/pcireg.h> #include <pci/pcivar.h> -static char* xrpu_probe (pcici_t tag, pcidi_t type); +static const char* xrpu_probe (pcici_t tag, pcidi_t type); static void xrpu_attach (pcici_t tag, int unit); static u_long xrpu_count; @@ -225,7 +225,7 @@ static struct pci_device xrpu_device = { DATA_SET (pcidevice_set, xrpu_device); -static char* +static const char* xrpu_probe (pcici_t tag, pcidi_t typea) { int data = pci_conf_read(tag, PCI_CLASS_REG); |