Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 23:15:22 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 153978 for review
Message-ID:  <200812022315.mB2NFMlc034713@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=153978

Change 153978 by sam@sam_ebb on 2008/12/02 23:14:40

	o correct inline order
	o whitepsace

Affected files ...

.. //depot/projects/vap/sys/arm/xscale/ixp425/avila_ata.c#5 edit

Differences ...

==== //depot/projects/vap/sys/arm/xscale/ixp425/avila_ata.c#5 (text+ko) ====

@@ -265,9 +265,9 @@
 
 	/* detach & delete all children */
 	if (device_get_children(dev, &children, &nc) == 0) {
-	    if (nc > 0)
-		    device_delete_child(dev, children[0]);
-	    free(children, M_TEMP);
+		if (nc > 0)
+			device_delete_child(dev, children[0]);
+		free(children, M_TEMP);
 	}
 
 	bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih);
@@ -343,7 +343,7 @@
 /*
  * Enable/disable 16-bit ops on the expansion bus.
  */
-static void __inline
+static __inline void
 enable_16(struct ata_avila_softc *sc)
 {
 	EXP_BUS_WRITE_4(sc, sc->sc_16bit_off,
@@ -351,7 +351,7 @@
 	DELAY(100);		/* XXX? */
 }
 
-static void __inline
+static __inline void
 disable_16(struct ata_avila_softc *sc)
 {
 	DELAY(100);		/* XXX? */


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812022315.mB2NFMlc034713>