summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-mx27_3ds.c
diff options
context:
space:
mode:
authorJürgen Lambrecht2011-07-05 15:35:31 +0200
committerSascha Hauer2011-07-07 10:01:15 +0200
commit1459fc5f6d244b4e43690df5e9e28e8de390caf0 (patch)
tree2655446578c19ac65b6d89dffb102bbfdb183cf9 /arch/arm/mach-imx/mach-mx27_3ds.c
parentarm: mxs: add mmc-device for mach-tx28 (diff)
downloadkernel-qcow2-linux-1459fc5f6d244b4e43690df5e9e28e8de390caf0.tar.gz
kernel-qcow2-linux-1459fc5f6d244b4e43690df5e9e28e8de390caf0.tar.xz
kernel-qcow2-linux-1459fc5f6d244b4e43690df5e9e28e8de390caf0.zip
Enable RTC driver.
The MC13783 MFD also contains an RTC. Enable it. To avoid "No RTC device found, ALARM timers will not wake from suspend", this patch is needed: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c008ba58af24dc5d0d8e9fe6e59d876910254761 Signed-off-by: Jürgen Lambrecht <J.Lambrecht@televic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx27_3ds.c')
-rw-r--r--arch/arm/mach-imx/mach-mx27_3ds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index 84fb79315dd1..6fa6934ab150 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -293,7 +293,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
.num_regulators = ARRAY_SIZE(mx27_3ds_regulators),
},
- .flags = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
+ .flags = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN |
+ MC13783_USE_RTC,
};
/* SPI */