summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mxs/devices-mx23.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-25 11:58:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-01 14:19:59 +0100
commit2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee (patch)
tree5360130c97dfdc2f602cee2bd2af72854ccc05ca /arch/arm/mach-mxs/devices-mx23.h
parent78159566b7ec120a1020cfc9469ac526bdd05387 (diff)
ARM: mxs: Add pwm clocks and device registration
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/devices-mx23.h')
-rw-r--r--arch/arm/mach-mxs/devices-mx23.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx23.h b/arch/arm/mach-mxs/devices-mx23.h
index c4d4773d3e85..7fb27b12bea9 100644
--- a/arch/arm/mach-mxs/devices-mx23.h
+++ b/arch/arm/mach-mxs/devices-mx23.h
@@ -19,3 +19,5 @@ extern const struct mxs_auart_data mx23_auart_data[] __initconst;
#define mx23_add_auart(id) mxs_add_auart(&mx23_auart_data[id])
#define mx23_add_auart0() mx23_add_auart(0)
#define mx23_add_auart1() mx23_add_auart(1)
+
+#define mx23_add_mxs_pwm(id) mxs_add_mxs_pwm(MX23_PWM_BASE_ADDR, id)