8 #include <linux/slab.h>
19 #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS)
33 {
"ebsa285:amber",
"heartbeat", },
34 {
"ebsa285:green",
"cpu0", },
42 struct ebsa285_led, cdev);
53 struct ebsa285_led, cdev);
58 static int __init ebsa285_leds_init(
void)
62 if (machine_is_ebsa285())
68 for (i = 0; i <
ARRAY_SIZE(ebsa285_leds); i++) {
69 struct ebsa285_led *
led;
75 led->cdev.name = ebsa285_leds[
i].name;
76 led->cdev.brightness_set = ebsa285_led_set;
77 led->cdev.brightness_get = ebsa285_led_get;
78 led->cdev.default_trigger = ebsa285_leds[
i].trigger;
100 .video_start = 0x000a0000,
101 .video_end = 0x000bffff,