diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-10 16:15:45 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:38 -0500 |
commit | 5f3d1092a949b33d01c95b7f5e5a83672629f131 (patch) | |
tree | 538bea4efeec3c2900a1ca2205d8dca6ea9e3c7b /arch/arm/plat-mxc/include/mach/devices-common.h | |
parent | 224b8c83641c2f31e3efc9bc5956636cc42cadf7 (diff) |
ARM: mx25: dynamically allocate mxc_pwm 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.h | 2 |
1 files changed, 2 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 f5d0000acd62..07223b2cf171 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h | |||
@@ -217,7 +217,9 @@ struct platform_device *__init imx_add_mxc_nand( | |||
217 | const struct mxc_nand_platform_data *pdata); | 217 | const struct mxc_nand_platform_data *pdata); |
218 | 218 | ||
219 | struct imx_mxc_pwm_data { | 219 | struct imx_mxc_pwm_data { |
220 | int id; | ||
220 | resource_size_t iobase; | 221 | resource_size_t iobase; |
222 | resource_size_t iosize; | ||
221 | resource_size_t irq; | 223 | resource_size_t irq; |
222 | }; | 224 | }; |
223 | struct platform_device *__init imx_add_mxc_pwm( | 225 | struct platform_device *__init imx_add_mxc_pwm( |