projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba57eb
)
ARM: imx/mx25: dynamically allocate pwm devices
author
Baruch Siach
<baruch@tkos.co.il>
Mon, 7 Mar 2011 13:19:11 +0000
(15:19 +0200)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Tue, 8 Mar 2011 12:24:24 +0000
(13:24 +0100)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/devices-imx25.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-imx/devices-imx25.h
b/arch/arm/mach-imx/devices-imx25.h
index d1ea79a6f80065df94d72e4c1287d9112aaf7d73..b591d72f60372aaac2c27c2cfea1d5cb7525745a 100644
(file)
--- 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;
#define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata)
#define imx25_add_spi_imx1(pdata) imx25_add_spi_imx(1, pdata)
#define imx25_add_spi_imx2(pdata) imx25_add_spi_imx(2, pdata)
+
+extern struct imx_mxc_pwm_data imx25_mxc_pwm_data[] __initconst;
+#define imx25_add_mxc_pwm(id) \
+ imx_add_mxc_pwm(&imx25_mxc_pwm_data[id])