summaryrefslogtreecommitdiffstats
path: root/sys/dev/vr
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/vr
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/vr')
-rw-r--r--sys/dev/vr/if_vr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c
index e0b377f..07890f8 100644
--- a/sys/dev/vr/if_vr.c
+++ b/sys/dev/vr/if_vr.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_vr.c,v 1.2 1998/12/05 02:21:44 wpaul Exp $
+ * $Id: if_vr.c,v 1.3 1998/12/07 21:58:47 archie Exp $
*/
/*
@@ -97,7 +97,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_vr.c,v 1.2 1998/12/05 02:21:44 wpaul Exp $";
+ "$Id: if_vr.c,v 1.3 1998/12/07 21:58:47 archie Exp $";
#endif
/*
@@ -128,7 +128,7 @@ static struct vr_type vr_phys[] = {
};
static unsigned long vr_count = 0;
-static char *vr_probe __P((pcici_t, pcidi_t));
+static const char *vr_probe __P((pcici_t, pcidi_t));
static void vr_attach __P((pcici_t, int));
static int vr_newbuf __P((struct vr_softc *,
@@ -865,7 +865,7 @@ static void vr_reset(sc)
* Probe for a VIA Rhine chip. Check the PCI vendor and device
* IDs against our list and return a device name if we find a match.
*/
-static char *
+static const char *
vr_probe(config_id, device_id)
pcici_t config_id;
pcidi_t device_id;
OpenPOWER on IntegriCloud