Date: Sun, 30 Dec 2007 13:27:50 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 132093 for review Message-ID: <200712301327.lBUDRo8n064412@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132093 Change 132093 by hselasky@hselasky_laptop001 on 2007/12/30 13:27:44 Get device methods right. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/uchcom.c#3 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/uchcom.c#3 (text+ko) ==== @@ -222,9 +222,9 @@ struct uchcom_endpoints *); static void uchcom_close_intr_pipe(struct uchcom_softc *); -static int uchcom_match(device_t ); -static int uchcom_attach(device_t ); -static int uchcom_detach(device_t ); +static device_probe_t uchcom_probe; +static device_attach_t uchcom_attach; +static device_detach_t uchcom_detach; struct ucom_callback uchcom_callback = { .ucom_get_status = uchcom_get_status, @@ -244,7 +244,7 @@ * driver entry points */ -static int uchcom_match(device_t self) +static int uchcom_probe(device_t self) { struct usb_attach_arg *uaa = device_get_ivars(self); @@ -1018,7 +1018,7 @@ static device_method_t uchcom_methods[] = { /* Device interface */ - DEVMETHOD(device_probe, uchcom_match), + DEVMETHOD(device_probe, uchcom_probe), DEVMETHOD(device_attach, uchcom_attach), DEVMETHOD(device_detach, uchcom_detach),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712301327.lBUDRo8n064412>