aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/jz4740/platform.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-08-22 04:01:24 -0400
committerThierry Reding <thierry.reding@avionic-design.de>2012-10-05 14:56:42 -0400
commitf6b8a5700057cc1b531c2f9b7806428a6f83b467 (patch)
treebf019c60548d37c21c8f1ca00a7968a425ea53da /arch/mips/jz4740/platform.c
parent46a98765133bd880916415d431698797010d4ba8 (diff)
pwm: Add Ingenic JZ4740 support
This commit moves the driver to drivers/pwm and converts it to the new PWM framework. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Tested-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jz4740/platform.c')
-rw-r--r--arch/mips/jz4740/platform.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c
index e342ed4cbd43..6d14dcdbd908 100644
--- a/arch/mips/jz4740/platform.c
+++ b/arch/mips/jz4740/platform.c
@@ -323,3 +323,9 @@ struct platform_device jz4740_wdt_device = {
323 .num_resources = ARRAY_SIZE(jz4740_wdt_resources), 323 .num_resources = ARRAY_SIZE(jz4740_wdt_resources),
324 .resource = jz4740_wdt_resources, 324 .resource = jz4740_wdt_resources,
325}; 325};
326
327/* PWM */
328struct platform_device jz4740_pwm_device = {
329 .name = "jz4740-pwm",
330 .id = -1,
331};