Commit Graph

3 Commits

Author SHA1 Message Date
Mohan Pallaka
71a224e616 pwm: Add __weak attributed functions for pwm operations
For chip drivers that support both pwm and non-pwm modes
would encounter compilation errors if the platform doesn't
have support for pwm though the chip is programmed to work
in non-pwm mode. Add __weak attributed pwm functions to avoid
compilation issues in these scenarios.

Change-Id: I6affff1ced9c84aefa3962b94780fd3e50ee1c35
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
(cherry picked from commit f056d9e5cfbd376a266c1db32c271d0f3ad0319b)
2013-02-25 11:40:21 -08:00
Mark Vels
5243ef8b54 trivial: PWM: fix of #endif comment
Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2009-03-30 15:22:01 +02:00
Russell King
1a189b9719 [ARM] pxa: Add bare bones PWM API
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-05-19 16:25:39 +01:00