22 #include <linux/types.h>
23 #include <linux/kernel.h>
24 #include <linux/device.h>
26 #include <linux/adb.h>
27 #include <linux/pmu.h>
33 static int requested_change;
46 requested_change = -1;
47 spin_unlock_irqrestore(&pmu_blink_lock, flags);
71 spin_unlock_irqrestore(&pmu_blink_lock, flags);
75 .name =
"pmu-led::front",
76 #ifdef CONFIG_ADB_PMU_LED_IDE
77 .default_trigger =
"ide-disk",
79 .brightness_set = pmu_led_set,
82 static int __init via_pmu_led_init(
void)
101 strcmp(model,
"PowerMac7,2") != 0 &&
102 strcmp(model,
"PowerMac7,3") != 0) {
111 pmu_blink_req.complete = 1;
112 pmu_blink_req.done = pmu_req_done;