diff --git a/sys/dev/ofw/ofbus.c b/sys/dev/ofw/ofbus.c index 1f335dff3dcb..4752e6e20336 100644 --- a/sys/dev/ofw/ofbus.c +++ b/sys/dev/ofw/ofbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofbus.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */ +/* $NetBSD: ofbus.c,v 1.4 1997/04/16 23:32:04 thorpej Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -36,7 +36,7 @@ #include -int ofbprobe __P((struct device *, void *, void *)); +int ofbprobe __P((struct device *, struct cfdata *, void *)); void ofbattach __P((struct device *, struct device *, void *)); static int ofbprint __P((void *, const char *)); @@ -81,7 +81,8 @@ ofbprint(aux, name) int ofbprobe(parent, cf, aux) struct device *parent; - void *cf, *aux; + struct cfdata *cf; + void *aux; { struct ofprobe *ofp = aux; diff --git a/sys/dev/ofw/ofcons.c b/sys/dev/ofw/ofcons.c index 58883cfc0b17..3a1f830bddd6 100644 --- a/sys/dev/ofw/ofcons.c +++ b/sys/dev/ofw/ofcons.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofcons.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */ +/* $NetBSD: ofcons.c,v 1.4 1997/04/16 23:32:56 thorpej Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -54,7 +54,7 @@ struct ofc_softc { static int stdin, stdout; -static int ofcmatch __P((struct device *, void *, void *)); +static int ofcmatch __P((struct device *, struct cfdata *, void *)); static void ofcattach __P((struct device *, struct device *, void *)); struct cfattach ofcons_ca = { @@ -70,7 +70,8 @@ static int ofcprobe __P((void)); static int ofcmatch(parent, match, aux) struct device *parent; - void *match, *aux; + struct cfdata *match; + void *aux; { struct ofprobe *ofp = aux;