From: Linus Walleij Date: Fri, 23 Jul 2010 10:49:52 +0000 (+0100) Subject: ARM: 6264/1: fix Versatile Express LED oversight X-Git-Tag: MMI-PSA29.97-13-9~23112^2~2^11~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b042245fc2ca8c0326f3f1ea6c4dafc561bb3a82;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Russell King --- 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 @@ 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