MIPS: BCM47XX: Prepare support for LEDs
authorRafał Miłecki <zajec5@gmail.com>
Tue, 14 Jan 2014 11:14:41 +0000 (12:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:51 +0000 (22:39 +0100)
commit515fa75d4845c424c853a727a4f02b0e02340370
treeaff49e83e72804e9bf1eb4cd2cc253263950cdf3
parent76b573e46016eabc79e6764a458a559a30dfa7e9
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/
arch/mips/bcm47xx/Kconfig
arch/mips/bcm47xx/Makefile
arch/mips/bcm47xx/bcm47xx_private.h [new file with mode: 0644]
arch/mips/bcm47xx/leds.c [new file with mode: 0644]
arch/mips/bcm47xx/setup.c