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 <mach/hardware.h>
17 #include <asm/system.h>
23 * The MX1ADS Board has only one usable LED,
24 * so select only the timer led or the
28 mx1ads_leds_event(led_event_t ledevt)
32 local_irq_save(flags);
35 #ifdef CONFIG_LEDS_CPU
45 #ifdef CONFIG_LEDS_TIMER
52 local_irq_restore(flags);