summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740/platform.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-08-22 10:01:24 +0200
committerThierry Reding <thierry.reding@avionic-design.de>2012-10-05 20:56:42 +0200
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 = {
.num_resources = ARRAY_SIZE(jz4740_wdt_resources),
.resource = jz4740_wdt_resources,
};
+
+/* PWM */
+struct platform_device jz4740_pwm_device = {
+ .name = "jz4740-pwm",
+ .id = -1,
+};