aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm26/leds.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-arm26/leds.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/asm-arm26/leds.h')
-rw-r--r--include/asm-arm26/leds.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/include/asm-arm26/leds.h b/include/asm-arm26/leds.h
new file mode 100644
index 000000000000..88ce4124f854
--- /dev/null
+++ b/include/asm-arm26/leds.h
@@ -0,0 +1,51 @@
1/*
2 * linux/include/asm-arm/leds.h
3 *
4 * Copyright (C) 1998 Russell King
5 *
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.
9 *
10 * Event-driven interface for LEDs on machines
11 * Added led_start and led_stop- Alex Holden, 28th Dec 1998.
12 */
13#ifndef ASM_ARM_LEDS_H
14#define ASM_ARM_LEDS_H
15
16#include <linux/config.h>
17
18typedef enum {
19 led_idle_start,
20 led_idle_end,
21 led_timer,
22 led_start,
23 led_stop,
24 led_claim, /* override idle & timer leds */
25 led_release, /* restore idle & timer leds */
26 led_start_timer_mode,
27 led_stop_timer_mode,
28 led_green_on,
29 led_green_off,
30 led_amber_on,
31 led_amber_off,
32 led_red_on,
33 led_red_off,
34 led_blue_on,
35 led_blue_off,
36 /*
37 * I want this between led_timer and led_start, but
38 * someone has decided to export this to user space
39 */
40 led_halted
41} led_event_t;
42
43/* Use this routine to handle LEDs */
44
45#ifdef CONFIG_LEDS
46extern void (*leds_event)(led_event_t);
47#else
48#define leds_event(e)
49#endif
50
51#endif