diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2010-07-20 22:32:00 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-26 10:48:29 +0100 |
commit | b5417019a6e614f5285f9eb8f9e5b2d62395965b (patch) | |
tree | 2e5a4f4b3c761367ac02435ebcf1deda8e87ee78 /arch/arm/plat-versatile/Makefile | |
parent | ce8962455e902ffa08d59fd2b113942eaaffb0d6 (diff) | |
download | linux-b5417019a6e614f5285f9eb8f9e5b2d62395965b.tar.bz2 |
ARM: 6235/2: driver for the LEDs found in the later ARM refdesigns
This adds a simple driver supporting the new LED framework with
triggers and all for the RealView and Versatile platforms. The
RealView and Versatile platform drivers were arranged to compile
for all-but-integrator as a side effect since the Integrator has
a different LED driver.
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/Makefile')
-rw-r--r-- | arch/arm/plat-versatile/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/plat-versatile/Makefile b/arch/arm/plat-versatile/Makefile index 9b1a66816aa6..505a8f89601c 100644 --- a/arch/arm/plat-versatile/Makefile +++ b/arch/arm/plat-versatile/Makefile @@ -1,4 +1,7 @@ obj-y := clock.o obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o -obj-$(CONFIG_ARCH_REALVIEW) += sched-clock.o -obj-$(CONFIG_ARCH_VERSATILE) += sched-clock.o +# For all but the Integrator, compile these +ifeq ($(CONFIG_ARCH_INTEGRATOR),) +obj-y += sched-clock.o +obj-$(CONFIG_LEDS_CLASS) += leds.o +endif |