2 * linux/arch/arm/mach-imx/leds-mx1ads.c
4 * Copyright (c) 2004 Sascha Hauer <sascha@saschahauer.de>
6 * Original (leds-footbridge.c) by Russell King
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 #include <linux/kernel.h>
15 #include <linux/init.h>
16 #include <asm/hardware.h>
17 #include <asm/system.h>
20 #include <asm/mach-types.h>
24 * The MX1ADS Board has only one usable LED,
25 * so select only the timer led or the
29 mx1ads_leds_event(led_event_t ledevt
)
33 local_irq_save(flags
);
36 #ifdef CONFIG_LEDS_CPU
46 #ifdef CONFIG_LEDS_TIMER
53 local_irq_restore(flags
);