summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-11-06 08:28:51 -0600
committerTom Rini <trini@ti.com>2014-12-04 11:04:14 -0500
commitd11ac4b56d993153f9d72208809060f3b6c9af76 (patch)
tree7312d30ed0c88ec4f0cc9236f493fcb7ab4b30f4 /drivers/power
parent56fe405516ba94df62b57928a8e281b0a5a71313 (diff)
arm: omap: add support for am57xx devices
just add a few ifdefs around because this device is very similar to dra7xxx. Signed-off-by: Felipe Balbi <balbi@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/palmas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/palmas.c b/drivers/power/palmas.c
index cfbc9dc5220..6430fe004d5 100644
--- a/drivers/power/palmas.c
+++ b/drivers/power/palmas.c
@@ -27,7 +27,7 @@ int palmas_mmc1_poweron_ldo(void)
{
u8 val = 0;
-#if defined(CONFIG_DRA7XX)
+#if defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)
/*
* Currently valid for the dra7xx_evm board:
* Set TPS659038 LDO1 to 3.0 V