diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-01-14 15:14:41 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-25 01:39:51 +0400 |
commit | 515fa75d4845c424c853a727a4f02b0e02340370 (patch) | |
tree | aff49e83e72804e9bf1eb4cd2cc253263950cdf3 /arch/mips/bcm47xx/bcm47xx_private.h | |
parent | 76b573e46016eabc79e6764a458a559a30dfa7e9 (diff) | |
download | linux-515fa75d4845c424c853a727a4f02b0e02340370.tar.xz |
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.h | 9 |
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 |