summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/bcm47xx_private.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-01-14 12:14:41 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-01-24 22:39:51 +0100
commit515fa75d4845c424c853a727a4f02b0e02340370 (patch)
treeaff49e83e72804e9bf1eb4cd2cc253263950cdf3 /arch/mips/bcm47xx/bcm47xx_private.h
parent76b573e46016eabc79e6764a458a559a30dfa7e9 (diff)
downloadblackbird-op-linux-515fa75d4845c424c853a727a4f02b0e02340370.tar.gz
blackbird-op-linux-515fa75d4845c424c853a727a4f02b0e02340370.zip
MIPS: BCM47XX: Prepare support for LEDs
So far this is mostly just a proof of concept, database consists of a single device. Creating a nice iterateable array wasn't an option because devices have different amount of LEDs. And we don't want to waste memory just because of support for a device with dozens on LEDs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6299/
Diffstat (limited to 'arch/mips/bcm47xx/bcm47xx_private.h')
-rw-r--r--arch/mips/bcm47xx/bcm47xx_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/bcm47xx_private.h b/arch/mips/bcm47xx/bcm47xx_private.h
new file mode 100644
index 000000000000..1a1e600b74e6
--- /dev/null
+++ b/arch/mips/bcm47xx/bcm47xx_private.h
@@ -0,0 +1,9 @@
+#ifndef LINUX_BCM47XX_PRIVATE_H_
+#define LINUX_BCM47XX_PRIVATE_H_
+
+#include <linux/kernel.h>
+
+/* leds.c */
+void __init bcm47xx_leds_register(void);
+
+#endif
OpenPOWER on IntegriCloud