aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-03-30 19:07:13 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-03-30 19:07:13 +0000
commitec78ae869e42da9b32fc3eb664e551b5beb97b53 (patch)
tree086a4a7fa1f704ef65905ac9a24d76ef9265c1da /target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch
parent374deb8374e46d8362b7e6110729b99b12489fc5 (diff)
downloadupstream-ec78ae869e42da9b32fc3eb664e551b5beb97b53.tar.gz
upstream-ec78ae869e42da9b32fc3eb664e551b5beb97b53.tar.bz2
upstream-ec78ae869e42da9b32fc3eb664e551b5beb97b53.zip
brcm47xx: Name LEDs colors for Linksys E1000 V2.1
Handle it by creating a new patch for simple database changes. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40345 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch b/target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch
new file mode 100644
index 0000000000..861285624f
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch
@@ -0,0 +1,13 @@
+--- a/arch/mips/bcm47xx/leds.c
++++ b/arch/mips/bcm47xx/leds.c
+@@ -216,8 +216,8 @@ bcm47xx_leds_linksys_e1000v1[] __initcon
+
+ static const struct gpio_led
+ bcm47xx_leds_linksys_e1000v21[] __initconst = {
+- BCM47XX_GPIO_LED(5, "unk", "wlan", 0, LEDS_GPIO_DEFSTATE_OFF),
+- BCM47XX_GPIO_LED(6, "unk", "power", 1, LEDS_GPIO_DEFSTATE_ON),
++ BCM47XX_GPIO_LED(5, "blue", "wlan", 0, LEDS_GPIO_DEFSTATE_OFF),
++ BCM47XX_GPIO_LED(6, "blue", "power", 1, LEDS_GPIO_DEFSTATE_ON),
+ BCM47XX_GPIO_LED(7, "amber", "wps", 0, LEDS_GPIO_DEFSTATE_OFF),
+ BCM47XX_GPIO_LED(8, "blue", "wps", 0, LEDS_GPIO_DEFSTATE_OFF),
+ };