diff options
author | zach.pfeffer@linaro.org <zach.pfeffer@linaro.org> | 2011-09-20 14:26:34 +0000 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-09-20 08:43:53 -0600 |
commit | d3fbf24c6a2f5e31094116ae88db3477d3e18384 (patch) | |
tree | 6c28c15f12450cbfea86a4cb06a80e177ae178d0 | |
parent | 6a3f285267056523017f1dbc7ba04b1dd7cbad75 (diff) |
Fix to compilation error for beagleboard2011.08.8Linaro-u-boot-2011.08
-rw-r--r-- | drivers/mmc/omap_hsmmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 5270f79b3..604164c1e 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -40,6 +40,7 @@ static int mmc_read_data(hsmmc_t *mmc_base, char *buf, unsigned int size); static int mmc_write_data(hsmmc_t *mmc_base, const char *buf, unsigned int siz); static struct mmc hsmmc_dev[2]; +#if defined(CONFIG_OMAP44XX) && defined(CONFIG_TWL6030_POWER) unsigned char omap4_vmmc_pbias_config(struct mmc *mmc) { u32 value = 0; @@ -53,6 +54,7 @@ unsigned char omap4_vmmc_pbias_config(struct mmc *mmc) value |= (1 << 21) | (1 << 22) | (1 << 26); writel(value, CONTROL_PBIASLITE); } +#endif unsigned char mmc_board_init(struct mmc *mmc) { |