summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-08 18:56:28 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 01:24:34 +0400
commit1690e35f9b95e0efe063d76a7ab485db3e8d3bc5 (patch)
tree90fe5251293598c7c9f96e64df731540b5fc8f0e /drivers/Makefile
parentc919951d940f28b3b9eb208e289faa27f4bc4678 (diff)
downloadlinux-1690e35f9b95e0efe063d76a7ab485db3e8d3bc5.tar.xz
misc: atmel_pwm: only build for supported platforms
There is architecture code in mach-at91 that depends on the CONFIG_ATMEL_PWM symbol in order to call the soc-specific at91_add_device_pwm function. While all of this is about code that will be removed in the future, using DT probing and the PWM framework, we currently get a build failure: arch/arm/mach-at91/built-in.o: In function `at91_pwm_leds': arch/arm/mach-at91/leds.c:88: undefined reference to `at91_add_device_pwm' This patch ensures we only try to build this driver on platforms on which it will build and work. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions