diff options
author | stanley.miao <stanley.miao@windriver.com> | 2010-05-13 12:39:31 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-05-20 11:17:51 -0700 |
commit | 03e7e170d6fdc5b6f75d1ab2cc1a6cb4f2b6b8c4 (patch) | |
tree | 43ec8348bdd5d8ad0f940c4b688b083b9c871e9f /arch/arm/plat-omap | |
parent | ed8303fc111e58530e22bd29b0d7e08dced75999 (diff) | |
download | talos-obmc-linux-03e7e170d6fdc5b6f75d1ab2cc1a6cb4f2b6b8c4.tar.gz talos-obmc-linux-03e7e170d6fdc5b6f75d1ab2cc1a6cb4f2b6b8c4.zip |
omap: hsmmc: fix the hsmmc driver for am3517
AM3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators
like "vmmc", so we set a noop "set_power" function for it.
Signed-off-by: Stanley.Miao <stanley.miao@windriver.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/mmc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h index a1bac07c89eb..c835f1e994c6 100644 --- a/arch/arm/plat-omap/include/plat/mmc.h +++ b/arch/arm/plat-omap/include/plat/mmc.h @@ -102,6 +102,10 @@ struct omap_mmc_platform_data { /* Regulator off remapped to sleep */ unsigned vcc_aux_disable_is_sleep:1; + /* we can put the features above into this variable */ +#define HSMMC_HAS_PBIAS (1 << 0) + unsigned features; + int switch_pin; /* gpio (card detect) */ int gpio_wp; /* gpio (write protect) */ |