diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-07-04 10:36:11 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-09 04:30:17 -0400 |
commit | 114ea991eca8ae706c42b1884aec83033be274b1 (patch) | |
tree | dea6814c754d86062f51dc22c9f15b9511eb99a1 /arch/arm/plat-mxc | |
parent | 76e30b81e637d9dc52302fee76092235f1ac590f (diff) |
ARM: imx: enable support for mx35 rtc
The i.MX35 has an RTC compatible with the i.MX31's, so enable its support even
if it's not very useful because it's not battery backed.
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-mxc_rtc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-mxc_rtc.c b/arch/arm/plat-mxc/devices/platform-mxc_rtc.c index 16d0ec4df5f6..a5c9ad5721c2 100644 --- a/arch/arm/plat-mxc/devices/platform-mxc_rtc.c +++ b/arch/arm/plat-mxc/devices/platform-mxc_rtc.c | |||
@@ -20,6 +20,11 @@ const struct imx_mxc_rtc_data imx31_mxc_rtc_data __initconst = | |||
20 | imx_mxc_rtc_data_entry_single(MX31); | 20 | imx_mxc_rtc_data_entry_single(MX31); |
21 | #endif /* ifdef CONFIG_SOC_IMX31 */ | 21 | #endif /* ifdef CONFIG_SOC_IMX31 */ |
22 | 22 | ||
23 | #ifdef CONFIG_SOC_IMX35 | ||
24 | const struct imx_mxc_rtc_data imx35_mxc_rtc_data __initconst = | ||
25 | imx_mxc_rtc_data_entry_single(MX35); | ||
26 | #endif /* ifdef CONFIG_SOC_IMX35 */ | ||
27 | |||
23 | struct platform_device *__init imx_add_mxc_rtc( | 28 | struct platform_device *__init imx_add_mxc_rtc( |
24 | const struct imx_mxc_rtc_data *data) | 29 | const struct imx_mxc_rtc_data *data) |
25 | { | 30 | { |