x86: introduce native_set_pte_atomic() on 64-bit too
[wrt350n-kernel.git] / include / asm-arm / leds.h
blob12290ea55801c101341e0707c233bf9fb4e082ab
1 /*
2 * linux/include/asm-arm/leds.h
4 * Copyright (C) 1998 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * Event-driven interface for LEDs on machines
11 * Added led_start and led_stop- Alex Holden, 28th Dec 1998.
13 #ifndef ASM_ARM_LEDS_H
14 #define ASM_ARM_LEDS_H
17 typedef enum {
18 led_idle_start,
19 led_idle_end,
20 led_timer,
21 led_start,
22 led_stop,
23 led_claim, /* override idle & timer leds */
24 led_release, /* restore idle & timer leds */
25 led_start_timer_mode,
26 led_stop_timer_mode,
27 led_green_on,
28 led_green_off,
29 led_amber_on,
30 led_amber_off,
31 led_red_on,
32 led_red_off,
33 led_blue_on,
34 led_blue_off,
36 * I want this between led_timer and led_start, but
37 * someone has decided to export this to user space
39 led_halted
40 } led_event_t;
42 /* Use this routine to handle LEDs */
44 #ifdef CONFIG_LEDS
45 extern void (*leds_event)(led_event_t);
46 #else
47 #define leds_event(e)
48 #endif
50 #endif