PERFORCE change 153978 for review

Sam Leffler sam at FreeBSD.org
Tue Dec 2 15:15:22 PST 2008


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

Change 153978 by sam at 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? */


More information about the p4-projects mailing list