aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/core.h
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2012-03-13 18:06:36 +0800
committerBryan Wu <bryan.wu@canonical.com>2012-08-01 11:22:04 +0800
commite031cd513ec2ff661465dc1198220075719e72d1 (patch)
treef45ad6e54e220fed35e4c6c572a07b74cbe96740 /arch/arm/mach-realview/core.h
parentARM: at91: convert old leds drivers to gpio_led and led_trigger drivers (diff)
downloadlinux-dev-e031cd513ec2ff661465dc1198220075719e72d1.tar.xz
linux-dev-e031cd513ec2ff661465dc1198220075719e72d1.zip
ARM: mach-realview and mach-versatile: retire custom LED code
This replaces the custom LED trigger code in mach-realview with some overarching platform code for the plat-versatile family that will lock down LEDs 2 thru 5 for CPU activity indication. The day we have 8 core ARM systems the plat-versatile code will have to become more elaborate. Tested on RealView PB11MPCore by invoking four different CPU hogs (yes > /dev/null&) and see the LEDs go on one at a time. They all go off as the hogs are killed. Tested on the PB1176 as well - just one activity led (led 2) goes on and off with CPU activity. (bryan.wu@canonical.com: use ledtrig-cpu instead of ledtrig-arm-cpu) Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Acked-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/core.h')
-rw-r--r--arch/arm/mach-realview/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h
index f8f2c0ac4c01..f2141ae5a7de 100644
--- a/arch/arm/mach-realview/core.h
+++ b/arch/arm/mach-realview/core.h
@@ -26,7 +26,6 @@
#include <linux/io.h>
#include <asm/setup.h>
-#include <asm/leds.h>
#define APB_DEVICE(name, busid, base, plat) \
static AMBA_APB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat)
@@ -47,7 +46,6 @@ extern void __iomem *timer1_va_base;
extern void __iomem *timer2_va_base;
extern void __iomem *timer3_va_base;
-extern void realview_leds_event(led_event_t ledevt);
extern void realview_timer_init(unsigned int timer_irq);
extern int realview_flash_register(struct resource *res, u32 num);
extern int realview_eth_register(const char *name, struct resource *res);