summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/led.h
diff options
context:
space:
mode:
authorGrant Grundler <grundler@parisc-linux.org>2005-10-21 22:46:18 -0400
committerKyle McMartin <kyle@parisc-linux.org>2005-10-21 22:46:18 -0400
commit3499495205a676d85fcc2f3c28e35ec9b43c47e3 (patch)
treea22c976db8b5c81f3f42b283a37954f9381f3f9f /include/asm-parisc/led.h
parentba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e (diff)
downloadblackbird-op-linux-3499495205a676d85fcc2f3c28e35ec9b43c47e3.tar.gz
blackbird-op-linux-3499495205a676d85fcc2f3c28e35ec9b43c47e3.zip
[PARISC] Use work queue in LED/LCD driver instead of tasklet.
2.6.12-rc1-pa6 use work queue in LED/LCD driver instead of tasklet. Main advantage is it allows use of msleep() in the led_LCD_driver to "atomically" perform two MMIO writes (CMD, then DATA). Lead to nice cleanup of the main led_work_func() and led_LCD_driver(). Kudos to David for being persistent. From: David Pye <dmp@davidmpye.dyndns.org> Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/led.h')
-rw-r--r--include/asm-parisc/led.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-parisc/led.h b/include/asm-parisc/led.h
index 1ac8ab6c580d..efadfd543ec6 100644
--- a/include/asm-parisc/led.h
+++ b/include/asm-parisc/led.h
@@ -23,9 +23,6 @@
#define LED_CMD_REG_NONE 0 /* NULL == no addr for the cmd register */
-/* led tasklet struct */
-extern struct tasklet_struct led_tasklet;
-
/* register_led_driver() */
int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg);
OpenPOWER on IntegriCloud