DORMANTno replies

[PATCH] ARM: fix Versatile Express LED oversight

From: Linus Walleij <hidden>
Date: 2010-07-22 20:40:57
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

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 <redacted>
---
 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 505a8f8..5cf88e8 100644
--- a/arch/arm/plat-versatile/Makefile
+++ b/arch/arm/plat-versatile/Makefile
@@ -1,7 +1,8 @@
 obj-y	:= clock.o
 obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o
-# For all but the Integrator, compile these
-ifeq ($(CONFIG_ARCH_INTEGRATOR),)
-obj-y += sched-clock.o
-obj-$(CONFIG_LEDS_CLASS) += leds.o
+obj-$(CONFIG_ARCH_REALVIEW) += sched-clock.o
+obj-$(CONFIG_ARCH_VERSATILE) += sched-clock.o
+ifeq ($(CONFIG_LEDS_CLASS),y)
+obj-$(CONFIG_ARCH_REALVIEW) += leds.o
+obj-$(CONFIG_ARCH_VERSATILE) += leds.o
 endif
-- 
1.7.1.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help