From 1b46557c21ab146b0e43c06a8e1e922202afd373 Mon Sep 17 00:00:00 2001 From: dillon Date: Mon, 14 Dec 1998 06:37:37 +0000 Subject: probe function changed from returning char * to const char *. --- sys/pci/if_wb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/pci/if_wb.c') 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; -- cgit v1.1