summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
commit5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch)
tree0b23397a63155d259042171997a0d2a53e18851d /sys/dev/vx
parent6d407291a85c950fa545a5200d6a66fb4748d70c (diff)
downloadFreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.zip
FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.tar.gz
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.
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index f4e98ac..8eb3d75 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -47,7 +47,7 @@
#include <dev/vx/if_vxreg.h>
static void vx_pci_shutdown(int, void *);
-static char *vx_pci_probe(pcici_t, pcidi_t);
+static const char *vx_pci_probe(pcici_t, pcidi_t);
static void vx_pci_attach(pcici_t, int unit);
static void
@@ -59,7 +59,7 @@ vx_pci_shutdown(
vxfree(sc);
}
-static char*
+static const char*
vx_pci_probe(
pcici_t config_id,
pcidi_t device_id)
OpenPOWER on IntegriCloud