v2.4.8 -> v2.4.8.1
[opensuse:kernel.git] / arch / arm / mach-sa1100 / leds.c
1 /*
2  * linux/arch/arm/mach-sa1100/leds.c
3  *
4  * SA1100 LEDs dispatcher
5  * 
6  * Copyright (C) 2001 Nicolas Pitre
7  */
8 #include <linux/config.h>
9 #include <linux/init.h>
10
11 #include <asm/leds.h>
12 #include <asm/mach-types.h>
13
14 #include "leds.h"
15
16 static int __init
17 sa1100_leds_init(void)
18 {
19         if (machine_is_assabet())
20                 leds_event = assabet_leds_event;
21         if (machine_is_brutus())
22                 leds_event = brutus_leds_event;
23         if (machine_is_cerf())
24                 leds_event = cerf_leds_event;
25         if (machine_is_flexanet())
26                 leds_event = flexanet_leds_event;
27         if (machine_is_graphicsclient())
28                 leds_event = graphicsclient_leds_event;
29         if (machine_is_lart())
30                 leds_event = lart_leds_event;
31         if (machine_is_pfs168())
32                 leds_event = pfs168_leds_event;
33
34         leds_event(led_start);
35         return 0;
36 }
37
38 __initcall(sa1100_leds_init);