From d3fbf24c6a2f5e31094116ae88db3477d3e18384 Mon Sep 17 00:00:00 2001 From: "zach.pfeffer@linaro.org" Date: Tue, 20 Sep 2011 14:26:34 +0000 Subject: Fix to compilation error for beagleboard --- drivers/mmc/omap_hsmmc.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3