ARM: 6264/1: fix Versatile Express LED oversight
authorLinus Walleij <linus.walleij@stericsson.com>
Fri, 23 Jul 2010 10:49:52 +0000 (11:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Jul 2010 09:48:34 +0000 (10:48 +0100)
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>
arch/arm/plat-versatile/Makefile

index 505a8f89601c720ce2471e03f5380a17dcb0e2fc..5cf88e8427b15e66aafa287f1960e937a26fb89a 100644 (file)
@@ -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