summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx35.h
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2012-07-04 16:36:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-07-09 10:30:17 +0200
commit114ea991eca8ae706c42b1884aec83033be274b1 (patch)
treedea6814c754d86062f51dc22c9f15b9511eb99a1 /arch/arm/mach-imx/devices-imx35.h
parent76e30b81e637d9dc52302fee76092235f1ac590f (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/mach-imx/devices-imx35.h')
-rw-r--r--arch/arm/mach-imx/devices-imx35.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx35.h b/arch/arm/mach-imx/devices-imx35.h
index 7b99ef0bb501..e55d1cbd293f 100644
--- a/arch/arm/mach-imx/devices-imx35.h
+++ b/arch/arm/mach-imx/devices-imx35.h
@@ -68,6 +68,10 @@ extern const struct imx_mxc_nand_data imx35_mxc_nand_data;
#define imx35_add_mxc_nand(pdata) \
imx_add_mxc_nand(&imx35_mxc_nand_data, pdata)
+extern const struct imx_mxc_rtc_data imx35_mxc_rtc_data;
+#define imx35_add_mxc_rtc() \
+ imx_add_mxc_rtc(&imx35_mxc_rtc_data)
+
extern const struct imx_mxc_w1_data imx35_mxc_w1_data;
#define imx35_add_mxc_w1(pdata) \
imx_add_mxc_w1(&imx35_mxc_w1_data)