Fix to compilation error for beagleboard
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index 5270f79..604164c 100644
--- a/drivers/mmc/omap_hsmmc.c
+++ b/drivers/mmc/omap_hsmmc.c
@@ -40,6 +40,7 @@
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 @@
value |= (1 << 21) | (1 << 22) | (1 << 26);
writel(value, CONTROL_PBIASLITE);
}
+#endif
unsigned char mmc_board_init(struct mmc *mmc)
{