8 #include <linux/kernel.h>
9 #include <linux/module.h>
16 #define DRVNAME "sead3-led"
20 static void sead3_pled_set(
struct led_classdev *led_cdev,
27 static void sead3_fled_set(
struct led_classdev *led_cdev,
35 .name =
"sead3::pled",
36 .brightness_set = sead3_pled_set,
40 .name =
"sead3::fled",
41 .brightness_set = sead3_fled_set,
60 #define sead3_led_suspend NULL
61 #define sead3_led_resume NULL
87 .probe = sead3_led_probe,
88 .remove = sead3_led_remove,
97 static int __init sead3_led_init(
void)
105 pdev = platform_device_register_simple(
DRVNAME, -1,
NULL, 0);
116 static void __exit sead3_led_exit(
void)