summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr
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/bktr
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/bktr')
-rw-r--r--sys/dev/bktr/bktr_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c
index d4de62e..7ad1953 100644
--- a/sys/dev/bktr/bktr_core.c
+++ b/sys/dev/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $Id: brooktree848.c,v 1.59 1998/11/08 12:39:06 dfr Exp $ */
+/* $Id: brooktree848.c,v 1.60 1998/12/07 21:58:45 archie Exp $ */
/* BT848 Driver for Brooktree's Bt848 based cards.
The Brooktree BT848 Driver driver is based upon Mark Tinguely and
Jim Lowe's driver for the Matrox Meteor PCI card . The
@@ -438,7 +438,7 @@ static bktr_reg_t brooktree[ NBKTR ];
#define MINOR(x) ((x >> 4) & 0x0f)
#define ATTACH_ARGS pcici_t tag, int unit
-static char* bktr_probe( pcici_t tag, pcidi_t type );
+static const char* bktr_probe( pcici_t tag, pcidi_t type );
static void bktr_attach( ATTACH_ARGS );
static u_long bktr_count;
@@ -1127,7 +1127,7 @@ static int readEEProm( bktr_ptr_t bktr, int offset, int count,
/*
* the boot time probe routine.
*/
-static char*
+static const char*
bktr_probe( pcici_t tag, pcidi_t type )
{
switch (type) {
OpenPOWER on IntegriCloud