summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-07-02 21:29:45 +0200
committerThierry Reding <thierry.reding@avionic-design.de>2012-07-23 13:23:56 +0200
commiteac7a92fd0bc5b1edff0f9c7be5dce4f88491fb3 (patch)
treec924a08d43f180aad4e384a25978da9664ce97f1 /drivers/pwm/Kconfig
parent1112fe88d4ebbb5f46750726b87fb0beb1396835 (diff)
downloadop-kernel-dev-eac7a92fd0bc5b1edff0f9c7be5dce4f88491fb3.zip
op-kernel-dev-eac7a92fd0bc5b1edff0f9c7be5dce4f88491fb3.tar.gz
pwm: Conflict with legacy PWM API
In order to avoid duplicate symbols with legacy PWM API implementations, the new PWM framework needs to conflict with any of the existing legacy implementations. This is done in two ways: for implementations provided by drivers, a conflict is added to the driver to ensure it will have to be ported to the PWM subsystem before it can coexist with other PWM providers. For architecture-specific code, the conflict is added to the PWM symbol to avoid confusion when a previously picked platform or machine can no longer be selected because of the PWM subsystem being included. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 5227415..0b2800f 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -1,5 +1,6 @@
menuconfig PWM
bool "PWM Support"
+ depends on !MACH_JZ4740 && !PUV3_PWM
help
This enables PWM support through the generic PWM framework.
You only need to enable this, if you also want to enable
OpenPOWER on IntegriCloud