diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-02 15:29:45 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-07-23 07:23:56 -0400 |
commit | eac7a92fd0bc5b1edff0f9c7be5dce4f88491fb3 (patch) | |
tree | c924a08d43f180aad4e384a25978da9664ce97f1 /drivers/misc/Kconfig | |
parent | 1112fe88d4ebbb5f46750726b87fb0beb1396835 (diff) |
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/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 2661f6e366f9..731ed8504a64 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -64,6 +64,7 @@ config AB8500_PWM | |||
64 | bool "AB8500 PWM support" | 64 | bool "AB8500 PWM support" |
65 | depends on AB8500_CORE && ARCH_U8500 | 65 | depends on AB8500_CORE && ARCH_U8500 |
66 | select HAVE_PWM | 66 | select HAVE_PWM |
67 | depends on !PWM | ||
67 | help | 68 | help |
68 | This driver exports functions to enable/disble/config/free Pulse | 69 | This driver exports functions to enable/disble/config/free Pulse |
69 | Width Modulation in the Analog Baseband Chip AB8500. | 70 | Width Modulation in the Analog Baseband Chip AB8500. |