summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wb.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/pci/if_wb.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/pci/if_wb.c')
-rw-r--r--sys/pci/if_wb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index b65cfae..1fa7b9a 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.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_wb.c,v 1.2 1998/12/05 02:21:44 wpaul Exp $
+ * $Id: if_wb.c,v 1.3 1998/12/10 02:02:30 archie Exp $
*/
/*
@@ -121,7 +121,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_wb.c,v 1.2 1998/12/05 02:21:44 wpaul Exp $";
+ "$Id: if_wb.c,v 1.3 1998/12/10 02:02:30 archie Exp $";
#endif
/*
@@ -152,7 +152,7 @@ static struct wb_type wb_phys[] = {
};
static unsigned long wb_count = 0;
-static char *wb_probe __P((pcici_t, pcidi_t));
+static const char *wb_probe __P((pcici_t, pcidi_t));
static void wb_attach __P((pcici_t, int));
static int wb_newbuf __P((struct wb_softc *,
@@ -995,7 +995,7 @@ static void wb_reset(sc)
* Probe for a Winbond 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 *
wb_probe(config_id, device_id)
pcici_t config_id;
pcidi_t device_id;
OpenPOWER on IntegriCloud