10 #include <linux/kernel.h>
13 #include <linux/slab.h>
16 #include <linux/module.h>
93 static void ot200_led_brightness_set(
struct led_classdev *led_cdev,
102 if (led->
port == 0x49)
104 else if (led->
port == 0x5a)
115 spin_unlock_irqrestore(&value_lock, flags);
126 leds[
i].
cdev.brightness_set = ot200_led_brightness_set;
135 outb(leds_front, 0x49);
136 outb(leds_back, 0x5a);
141 for (i = i - 1; i >= 0; i--)
158 .probe = ot200_led_probe,
161 .name =
"leds-ot200",