md: remove the 'super' sysfs attribute from devices in an 'md' array
[linux-2.6/openmoko-kernel/knife-kernel.git] / arch / arm / mach-pxa / leds.c
blobe13eb841e48d3b04f0981f3d0ad80be92558d494
1 /*
2 * linux/arch/arm/mach-pxa/leds.c
4 * xscale LEDs dispatcher
6 * Copyright (C) 2001 Nicolas Pitre
8 * Copyright (c) 2001 Jeff Sutherland, Accelent Systems Inc.
9 */
10 #include <linux/compiler.h>
11 #include <linux/init.h>
13 #include <asm/leds.h>
14 #include <asm/mach-types.h>
16 #include "leds.h"
18 static int __init
19 pxa_leds_init(void)
21 if (machine_is_lubbock())
22 leds_event = lubbock_leds_event;
23 if (machine_is_mainstone())
24 leds_event = mainstone_leds_event;
25 if (machine_is_pxa_idp())
26 leds_event = idp_leds_event;
27 if (machine_is_trizeps4())
28 leds_event = trizeps4_leds_event;
30 leds_event(led_start);
31 return 0;
34 core_initcall(pxa_leds_init);