]> Pileus Git - ~andy/linux/commit
ARM: mxs: don't select HAVE_PWM
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2013 13:57:31 +0000 (15:57 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 24 Jun 2013 14:04:12 +0000 (16:04 +0200)
commitab1824636dac89b48f75dba57650d24a4e38b48c
tree1e306df4635346ce6c21ed00d7b8d9fa709f3bae
parent7a9caf59f60e55a8caf96f856713bd0ef0cc25a7
ARM: mxs: don't select HAVE_PWM

The HAVE_PWM symbol is only for legacy platforms that provide
the PWM API without using the generic framework. MXS actually
uses that framework, and selecting the symbol anyway might
cause build errors like

drivers/built-in.o: In function `pwm_beeper_resume':
:(.text+0x1f4fc0): undefined reference to `pwm_config'
:(.text+0x1f4fc8): undefined reference to `pwm_enable'
drivers/built-in.o: In function `pwm_beeper_suspend':
:(.text+0x1f4ffc): undefined reference to `pwm_disable'

when CONFIG_PWM is disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/Kconfig