diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-25 11:58:15 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-01 14:19:59 +0100 |
commit | 2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee (patch) | |
tree | 5360130c97dfdc2f602cee2bd2af72854ccc05ca /arch/arm/mach-mxs/include | |
parent | 78159566b7ec120a1020cfc9469ac526bdd05387 (diff) | |
download | linux-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.tar.gz linux-2301dfa7be2cb3e6bdd07cc1cb349b5853c4d5ee.tar.bz2 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/include')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/devices-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h b/arch/arm/mach-mxs/include/mach/devices-common.h index e7aefb467ab3..d460d3045555 100644 --- a/arch/arm/mach-mxs/include/mach/devices-common.h +++ b/arch/arm/mach-mxs/include/mach/devices-common.h @@ -63,3 +63,7 @@ struct mxs_flexcan_data { struct platform_device *__init mxs_add_flexcan( const struct mxs_flexcan_data *data, const struct flexcan_platform_data *pdata); + +/* pwm */ +struct platform_device *__init mxs_add_mxs_pwm( + resource_size_t iobase, int id); |