MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / arch / arm / mach-sa1100 / leds-system3.c
blob364ab67af7e135d5665674fcafbf6ab619e5cb8d
1 /*
2 * linux/arch/arm/mach-sa1100/leds-system3.c
4 * Copyright (C) 2001 Stefan Eletzhofer <stefan.eletzhofer@gmx.de>
6 * Original (leds-footbridge.c) by Russell King
8 * $Id: leds-system3.c,v 1.1.6.1 2001/12/04 15:19:26 seletz Exp $
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
14 * $Log: leds-system3.c,v $
15 * Revision 1.1.6.1 2001/12/04 15:19:26 seletz
16 * - merged from linux_2_4_13_ac5_rmk2
18 * Revision 1.1.4.2 2001/11/19 17:58:53 seletz
19 * - cleanup
21 * Revision 1.1.4.1 2001/11/16 13:49:54 seletz
22 * - dummy LED support for PT Digital Board
24 * Revision 1.1.2.1 2001/10/15 16:03:39 seletz
25 * - dummy function
29 #include <linux/init.h>
31 #include <asm/hardware.h>
32 #include <asm/leds.h>
33 #include <asm/system.h>
35 #include "leds.h"
38 #define LED_STATE_ENABLED 1
39 #define LED_STATE_CLAIMED 2
41 static unsigned int led_state;
42 static unsigned int hw_led_state;
44 void system3_leds_event(led_event_t evt)
47 /* TODO: support LEDs */