Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3
+1
drivers/mfd/Kconfig
··· 276 276 tristate "TWL6030 PWM (Pulse Width Modulator) Support" 277 277 depends on TWL4030_CORE 278 278 select HAVE_PWM 279 + depends on !PWM 279 280 default n 280 281 help 281 282 Say yes here if you want support for TWL6030 PWM.
+1
drivers/misc/Kconfig
··· 64 64 bool "AB8500 PWM support" 65 65 depends on AB8500_CORE && ARCH_U8500 66 66 select HAVE_PWM 67 + depends on !PWM 67 68 help 68 69 This driver exports functions to enable/disble/config/free Pulse 69 70 Width Modulation in the Analog Baseband Chip AB8500.
+1
drivers/pwm/Kconfig
··· 1 1 menuconfig PWM 2 2 bool "PWM Support" 3 + depends on !MACH_JZ4740 && !PUV3_PWM 3 4 help 4 5 This enables PWM support through the generic PWM framework. 5 6 You only need to enable this, if you also want to enable