aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzach.pfeffer@linaro.org <zach.pfeffer@linaro.org>2011-09-20 14:26:34 +0000
committerJohn Rigby <john.rigby@linaro.org>2011-09-20 08:43:53 -0600
commitd3fbf24c6a2f5e31094116ae88db3477d3e18384 (patch)
tree6c28c15f12450cbfea86a4cb06a80e177ae178d0
parent6a3f285267056523017f1dbc7ba04b1dd7cbad75 (diff)
downloadu-boot-linaro-Linaro-u-boot-2011.08.tar.gz
Fix to compilation error for beagleboard2011.08.8Linaro-u-boot-2011.08
-rw-r--r--drivers/mmc/omap_hsmmc.c2
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)
{