patch-2.4.0-test7 linux/include/asm-arm/leds.h

Next file: linux/include/asm-arm/mc146818rtc.h
Previous file: linux/include/asm-arm/hardware.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/include/asm-arm/leds.h linux/include/asm-arm/leds.h
@@ -25,17 +25,20 @@
 	led_amber_on,
 	led_amber_off,
 	led_red_on,
-	led_red_off
+	led_red_off,
+	/*
+	 * I want this between led_timer and led_start, but
+	 * someone has decided to export this to user space
+	 */
+	led_halted
 } led_event_t;
 
 /* Use this routine to handle LEDs */
 
 #ifdef CONFIG_LEDS
 extern void (*leds_event)(led_event_t);
-#define set_leds_event(r)	leds_event = r
 #else
 #define leds_event(e)
-#define set_leds_event(r)
 #endif
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)