diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-30 13:44:31 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-20 09:39:36 +0900 |
commit | fb7f60f3ff46cdcee15aed089edd6c298a1b80de (patch) | |
tree | f53c4a703a67aa9a3a4e647e1c1e5d2cbcbcbfd4 | |
parent | 6e2f2b4a4bf7b351df0ada2a0d626478a4f82b8e (diff) | |
download | lwn-fb7f60f3ff46cdcee15aed089edd6c298a1b80de.tar.gz lwn-fb7f60f3ff46cdcee15aed089edd6c298a1b80de.zip |
ARM: S3C64XX: Enable power management for disk on Cragganmore
We can happily let the MMC stack do power management for the MMC card
that is our main disk on Cragganmore so let's enable it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-crag6410.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index 97bd8574d4c9..894a5092a0dd 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c @@ -21,6 +21,7 @@ #include <linux/gpio.h> #include <linux/leds.h> #include <linux/delay.h> +#include <linux/mmc/host.h> #include <linux/regulator/machine.h> #include <linux/regulator/fixed.h> #include <linux/pwm_backlight.h> @@ -697,6 +698,7 @@ static struct s3c_sdhci_platdata crag6410_hsmmc0_pdata = { .max_width = 4, .cd_type = S3C_SDHCI_CD_INTERNAL, .cfg_gpio = crag6410_cfg_sdhci0, + .host_caps = MMC_CAP_POWER_OFF_CARD, }; static const struct gpio_led gpio_leds[] = { |