summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/devices-mx28.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-mx28.h
parent78159566b7ec120a1020cfc9469ac526bdd05387 (diff)
downloadtalos-op-linux-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.tar.gz
talos-op-linux-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.zip
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-mx28.h')
-rw-r--r--arch/arm/mach-mxs/devices-mx28.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/devices-mx28.h b/arch/arm/mach-mxs/devices-mx28.h
index 3b18304c5653..69d19ea19d4d 100644
--- a/arch/arm/mach-mxs/devices-mx28.h
+++ b/arch/arm/mach-mxs/devices-mx28.h
@@ -32,3 +32,5 @@ extern const struct mxs_flexcan_data mx28_flexcan_data[] __initconst;
mxs_add_flexcan(&mx28_flexcan_data[id], pdata)
#define mx28_add_flexcan0(pdata) mx28_add_flexcan(0, pdata)
#define mx28_add_flexcan1(pdata) mx28_add_flexcan(1, pdata)
+
+#define mx28_add_mxs_pwm(id) mxs_add_mxs_pwm(MX28_PWM_BASE_ADDR, id)
OpenPOWER on IntegriCloud