Skip to content

Commit

Permalink
ARM: 6264/1: fix Versatile Express LED oversight
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Russell King committed Jul 26, 2010
1 parent b541701 commit b042245
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arch/arm/plat-versatile/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b042245

Please sign in to comment.