summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/platformdata.c
diff options
context:
space:
mode:
authorSangwook Lee <sangwook.lee@samsung.com>2011-12-07 22:49:29 -0500
committerChris Ball <cjb@laptop.org>2012-01-11 23:58:43 -0500
commit92df954df3422a7dcf99eea34cf4cb68bb06ea08 (patch)
tree1497e67e187bcb82f52c634c575a827f55b64111 /arch/arm/plat-samsung/platformdata.c
parentfa1773cc5b78faa1ef0ab1ab0f48bce7bc72cec5 (diff)
ARM: SAMSUNG: Add pm_caps into platform data
Add pm_caps into platform_data. This is power management, usually for SDIO device such as SDIO WLAN. Signed-off-by: Sangwook Lee <sangwook.lee@samsung.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/plat-samsung/platformdata.c')
-rw-r--r--arch/arm/plat-samsung/platformdata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/platformdata.c b/arch/arm/plat-samsung/platformdata.c
index ceb9fa3a80c0..0f707184eae0 100644
--- a/arch/arm/plat-samsung/platformdata.c
+++ b/arch/arm/plat-samsung/platformdata.c
@@ -53,6 +53,8 @@ void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd,
set->cfg_gpio = pd->cfg_gpio;
if (pd->host_caps)
set->host_caps |= pd->host_caps;
+ if (pd->pm_caps)
+ set->pm_caps |= pd->pm_caps;
if (pd->clk_type)
set->clk_type = pd->clk_type;
}