diff options
author | Baruch Siach <baruch@tkos.co.il> | 2011-03-07 08:19:11 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-08 07:24:24 -0500 |
commit | 47be6b92c37a27837d73f4807684ce423aed796d (patch) | |
tree | 2a419cf7638c5b6e84afd7e3bc9e1f51fde3de4d /arch/arm/mach-imx | |
parent | cba57eb7d55923b74ed8c7d1dd97ecf98b7bba77 (diff) |
ARM: imx/mx25: dynamically allocate pwm devices
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/devices-imx25.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx25.h b/arch/arm/mach-imx/devices-imx25.h index d1ea79a6f800..b591d72f6037 100644 --- a/arch/arm/mach-imx/devices-imx25.h +++ b/arch/arm/mach-imx/devices-imx25.h | |||
@@ -85,3 +85,7 @@ extern const struct imx_spi_imx_data imx25_cspi_data[] __initconst; | |||
85 | #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) | 85 | #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) |
86 | #define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata) | 86 | #define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata) |
87 | #define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata) | 87 | #define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata) |
88 | |||
89 | extern struct imx_mxc_pwm_data imx25_mxc_pwm_data[] __initconst; | ||
90 | #define imx25_add_mxc_pwm(id) \ | ||
91 | imx_add_mxc_pwm(&imx25_mxc_pwm_data[id]) | ||