summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx25/devices-imx25.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-11 11:57:21 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 10:01:40 +0100
commite7c74b343091e0c6b7bb67c12f9f7fb345aa6a50 (patch)
tree08b808dad98c3b098eaa49c6588b6b16d46d7bd8 /arch/arm/mach-mx25/devices-imx25.h
parentab9cee4b2167f8bf01d85b537df5b9cbe342c780 (diff)
downloadlwn-e7c74b343091e0c6b7bb67c12f9f7fb345aa6a50.tar.gz
lwn-e7c74b343091e0c6b7bb67c12f9f7fb345aa6a50.zip
ARM: mx25: dynamically allocate imxdi_rtc devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/devices-imx25.h')
-rw-r--r--arch/arm/mach-mx25/devices-imx25.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h
index a35123fef39f..a4980ecd3941 100644
--- a/arch/arm/mach-mx25/devices-imx25.h
+++ b/arch/arm/mach-mx25/devices-imx25.h
@@ -23,6 +23,10 @@ extern const struct imx_fsl_usb2_udc_data imx25_fsl_usb2_udc_data __initconst;
#define imx25_add_fsl_usb2_udc(pdata) \
imx_add_fsl_usb2_udc(&imx25_fsl_usb2_udc_data, pdata)
+extern struct imx_imxdi_rtc_data imx25_imxdi_rtc_data __initconst;
+#define imx25_add_imxdi_rtc(pdata) \
+ imx_add_imxdi_rtc(&imx25_imxdi_rtc_data)
+
extern const struct imx_imx_i2c_data imx25_imx_i2c_data[] __initconst;
#define imx25_add_imx_i2c(id, pdata) \
imx_add_imx_i2c(&imx25_imx_i2c_data[id], pdata)