Date: Tue, 4 Apr 2006 17:33:32 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94615 for review Message-ID: <200604041733.k34HXWdJ078888@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94615 Change 94615 by imp@imp_Speedy on 2006/04/04 17:32:43 Aarrggghhh. compile nits. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91_twi.c#12 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91_twi.c#12 (text+ko) ==== @@ -40,7 +40,6 @@ #include <arm/at91/at91rm92reg.h> #include <arm/at91/at91_twireg.h> -#include <arm/at91/at91_twiio.h> #include <dev/iicbus/iiconf.h> #include <dev/iicbus/iicbus.h> @@ -153,8 +152,10 @@ static int at91_twi_detach(device_t dev) { + struct at91_twi_softc *sc; int rv; + sc = device_get_softc(dev); at91_twi_deactivate(dev); if (sc->iicbus && (rv = device_delete_child(dev, sc->iicbus)) != 0) return (rv);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604041733.k34HXWdJ078888>