Date: Tue, 3 Oct 2006 00:17:52 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 107132 for review Message-ID: <200610030017.k930HqU8031036@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107132 Change 107132 by imp@imp_lighthouse on 2006/10/03 00:17:49 move function to more appropriate place. Affected files ... .. //depot/projects/arm/src/sys/dev/mmc/mmc.c#16 edit .. //depot/projects/arm/src/sys/dev/mmc/mmcbrvar.h#3 edit Differences ... ==== //depot/projects/arm/src/sys/dev/mmc/mmc.c#16 (text+ko) ==== @@ -156,12 +156,6 @@ return (0); } -static int -mmcbr_update_ios(device_t dev) -{ - return (MMCBR_UPDATE_IOS(device_get_parent(dev), dev)); -} - static void mmc_rescan_cards(struct mmc_softc *sc) { ==== //depot/projects/arm/src/sys/dev/mmc/mmcbrvar.h#3 (text+ko) ==== @@ -29,6 +29,7 @@ #define DEV_MMC_MMCBRVAR_H #include <dev/mmc/bridge.h> +#include "mmcbr_if.h" enum mmcbr_device_ivars { MMCBR_IVAR_BUS_MODE, @@ -63,4 +64,10 @@ MMCBR_ACCESSOR(power_mode, POWER_MODE, int) MMCBR_ACCESSOR(vdd, VDD, int) +static int __inline +mmcbr_update_ios(device_t dev) +{ + return (MMCBR_UPDATE_IOS(device_get_parent(dev), dev)); +} + #endif /* DEV_MMC_MMCBRVAR_H */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610030017.k930HqU8031036>