]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/mmc-twl4030.h
HSMMC: Build fixes for earlier patches
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / mmc-twl4030.h
index 5777d3369fb5d8ca1b1e6fa9c2101f53ee3f1f68..5d2f7801a31222a54c46fc1cece1cee4f40f778e 100644 (file)
@@ -6,20 +6,20 @@
  * published by the Free Software Foundation.
  */
 
-#if    defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) || \
-       defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE)
-
 struct twl4030_hsmmc_info {
        u8      mmc;            /* controller 1/2/3 */
        u8      wires;          /* 1/4/8 wires */
        int     gpio_cd;        /* or -EINVAL */
 };
 
+#if    defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) || \
+       defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE)
+
 void hsmmc_init(struct twl4030_hsmmc_info *);
 
 #else
 
-static inline void hsmmc_init(struct twl4030_hsmmc_info *)
+static inline void hsmmc_init(struct twl4030_hsmmc_info *info)
 {
 }