Fix recursive lock in free_uid()/free_user_ns()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / mach-omap2 / mmc-twl4030.h
blobe1c8076400cabe86a49eafd398eb955bb2df7aa8
1 /*
2 * MMC definitions for OMAP2
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 struct twl4030_hsmmc_info {
10 u8 mmc; /* controller 1/2/3 */
11 u8 wires; /* 1/4/8 wires */
12 int gpio_cd; /* or -EINVAL */
13 int gpio_wp; /* or -EINVAL */
14 int ext_clock:1; /* use external pin for input clock */
17 #if defined(CONFIG_TWL4030_CORE) && \
18 (defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) || \
19 defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE))
21 void twl4030_mmc_init(struct twl4030_hsmmc_info *);
23 #else
25 static inline void twl4030_mmc_init(struct twl4030_hsmmc_info *info)
29 #endif