patch-2.2.18 linux/arch/arm/kernel/leds-ebsa110.c
Next file: linux/arch/arm/kernel/leds-ebsa285.c
Previous file: linux/arch/arm/kernel/isa.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Sep 15 23:28:37 2000
- Orig file:
v2.2.17/arch/arm/kernel/leds-ebsa110.c
- Orig date:
Fri Apr 21 12:45:45 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/arm/kernel/leds-ebsa110.c linux/arch/arm/kernel/leds-ebsa110.c
@@ -7,11 +7,13 @@
*
* - Red - toggles state every 50 timer interrupts
*/
+#include <linux/module.h>
+
#include <asm/hardware.h>
#include <asm/leds.h>
#include <asm/system.h>
-void leds_event(led_event_t ledevt)
+void ebsa110_leds_event(led_event_t ledevt)
{
unsigned long flags;
@@ -28,3 +30,7 @@
restore_flags(flags);
}
+
+void (*leds_event)(led_event_t) = ebsa110_leds_event;
+
+EXPORT_SYMBOL(leds_event);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)