diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-07-23 06:49:52 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-26 05:48:34 -0400 |
commit | b042245fc2ca8c0326f3f1ea6c4dafc561bb3a82 (patch) | |
tree | b9fc084cf9a3528c746279a23ac8e3ff024bfae2 /arch/arm/plat-versatile | |
parent | b5417019a6e614f5285f9eb8f9e5b2d62395965b (diff) |
ARM: 6264/1: fix Versatile Express LED oversight
My attempt to make the LEDs only compile for RealView and
Versatile was futile: I missed the Versatile Express. So invert
the logic and explicitly include the platforms to compile for.
Signed-off-by: Linus Walleij <triad@df.lth.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile')
-rw-r--r-- | arch/arm/plat-versatile/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/plat-versatile/Makefile b/arch/arm/plat-versatile/Makefile index 505a8f89601c..5cf88e8427b1 100644 --- a/arch/arm/plat-versatile/Makefile +++ b/arch/arm/plat-versatile/Makefile | |||
@@ -1,7 +1,8 @@ | |||
1 | obj-y := clock.o | 1 | obj-y := clock.o |
2 | obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o | 2 | obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o |
3 | # For all but the Integrator, compile these | 3 | obj-$(CONFIG_ARCH_REALVIEW) += sched-clock.o |
4 | ifeq ($(CONFIG_ARCH_INTEGRATOR),) | 4 | obj-$(CONFIG_ARCH_VERSATILE) += sched-clock.o |
5 | obj-y += sched-clock.o | 5 | ifeq ($(CONFIG_LEDS_CLASS),y) |
6 | obj-$(CONFIG_LEDS_CLASS) += leds.o | 6 | obj-$(CONFIG_ARCH_REALVIEW) += leds.o |
7 | obj-$(CONFIG_ARCH_VERSATILE) += leds.o | ||
7 | endif | 8 | endif |