diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-03-01 11:04:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 13:11:16 +0200 |
commit | 83422671c3e93b8ef77805fbad74173a1636d5f1 (patch) | |
tree | a79df1808e6aabe5dac7bb59da23c42e11894b2b /arch/arm/plat-mxc/include/mach/devices-common.h | |
parent | 3da25ccee303add545e49cef5c6cdeb0c1d94300 (diff) | |
download | op-kernel-dev-83422671c3e93b8ef77805fbad74173a1636d5f1.zip op-kernel-dev-83422671c3e93b8ef77805fbad74173a1636d5f1.tar.gz |
ARM: mx3: dynamically allocate "mxc_rtc" devices
LAKML-Reference: 1299271882-2130-2-git-send-email-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@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.h | 9 |
1 files changed, 9 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 8658c9c..b0bc198 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h @@ -237,6 +237,15 @@ struct imx_mxc_pwm_data { struct platform_device *__init imx_add_mxc_pwm( const struct imx_mxc_pwm_data *data); +/* mxc_rtc */ +struct imx_mxc_rtc_data { + resource_size_t iobase; + resource_size_t irq; +}; +struct platform_device *__init imx_add_mxc_rtc( + const struct imx_mxc_rtc_data *data); + +/* mxc_w1 */ struct imx_mxc_w1_data { resource_size_t iobase; }; |