From 499d1f1401e4948eaf8f7852b38468f82b46fd9b Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 30 Mar 2014 19:07:13 +0000 Subject: [PATCH] brcm47xx: Name LEDs colors for Linksys E1000 V2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Handle it by creating a new patch for simple database changes. Signed-off-by: Rafał Miłecki Signed-off-by: Hauke Mehrtens SVN-Revision: 40345 --- ...S-BCM47XX-Devices-database-update-for-3.16.patch | 13 +++++++++++++ ...S-BCM47XX-Devices-database-update-for-3.16.patch | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.10/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch create mode 100644 target/linux/brcm47xx/patches-3.14/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch diff --git a/target/linux/brcm47xx/patches-3.10/144-MIPS-BCM47XX-Devices-database-update-for-3.16.patch b/target/linux/brcm47xx/patches-3.10/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.10/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), + }; 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), + }; -- 2.30.2