summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/devices-common.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/plat-mxc/include/mach/devices-common.h
parentab9cee4b2167f8bf01d85b537df5b9cbe342c780 (diff)
ARM: mx25: dynamically allocate imxdi_rtc devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/devices-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h
index 8482613e972..4d4b28b5495 100644
--- a/arch/arm/plat-mxc/include/mach/devices-common.h
+++ b/arch/arm/plat-mxc/include/mach/devices-common.h
@@ -72,6 +72,13 @@ struct imx_imx2_wdt_data {
struct platform_device *__init imx_add_imx2_wdt(
const struct imx_imx2_wdt_data *data);
+struct imx_imxdi_rtc_data {
+ resource_size_t iobase;
+ resource_size_t irq;
+};
+struct platform_device *__init imx_add_imxdi_rtc(
+ const struct imx_imxdi_rtc_data *data);
+
#include <mach/imxfb.h>
struct imx_imx_fb_data {
resource_size_t iobase;