8 #include <linux/module.h>
12 #define LEDFLAGS(bits, shift) \
13 ((bits << 8) | (shift << 8))
15 #define LEDBITS(id, shift, bits) \
17 .flags = LEDFLAGS(bits, shift)
36 static struct resource pled_resources[] = {
45 .name =
"sead3::pled",
48 .platform_data = &led_data,
51 .resource = pled_resources
55 static struct resource fled_resources[] = {
64 .name =
"sead3::fled",
67 .platform_data = &led_data,
70 .resource = fled_resources
73 static int __init led_init(
void)