diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-12-07 15:34:28 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-12-07 15:34:28 +0000 |
commit | 5b0c81ab74b76a53f58a53a6048747fb63a6abcb (patch) | |
tree | a5ad6e9d20b3cfdd6903deb101c31cf3f2624751 /target/linux/brcm47xx/patches-3.10/126-MIPS-BCM47XX-Use-timer-trigger-for-status-LEDs.patch | |
parent | 159bc0e7e99b91e473a028cddd73ff1a2468eae7 (diff) | |
download | upstream-5b0c81ab74b76a53f58a53a6048747fb63a6abcb.tar.gz upstream-5b0c81ab74b76a53f58a53a6048747fb63a6abcb.tar.bz2 upstream-5b0c81ab74b76a53f58a53a6048747fb63a6abcb.zip |
brcm47xx: remove kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/126-MIPS-BCM47XX-Use-timer-trigger-for-status-LEDs.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.10/126-MIPS-BCM47XX-Use-timer-trigger-for-status-LEDs.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/126-MIPS-BCM47XX-Use-timer-trigger-for-status-LEDs.patch b/target/linux/brcm47xx/patches-3.10/126-MIPS-BCM47XX-Use-timer-trigger-for-status-LEDs.patch deleted file mode 100644 index e14bea94d1..0000000000 --- a/target/linux/brcm47xx/patches-3.10/126-MIPS-BCM47XX-Use-timer-trigger-for-status-LEDs.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 5c985c2a17ae0bdbc95fd8246631e00a35746396 Mon Sep 17 00:00:00 2001 -From: Rafa? Mi?ecki <zajec5@gmail.com> -Date: Fri, 3 Jan 2014 09:04:39 +0100 -Subject: [PATCH] MIPS: BCM47XX: Use "timer" trigger for status LEDs - -Some devices have power LED as well as status LED. The second one is -used to show the firmware is up and running. Set "timer" trigger for -such LEDs. - -Signed-off-by: Rafa? Mi?ecki <zajec5@gmail.com> ---- - arch/mips/bcm47xx/leds.c | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - ---- a/arch/mips/bcm47xx/leds.c -+++ b/arch/mips/bcm47xx/leds.c -@@ -16,6 +16,16 @@ - .default_state = _default_state, \ - } - -+#define BCM47XX_GPIO_LED_TRIGGER(_gpio, _color, _function, _active_low, \ -+ _default_trigger) \ -+ { \ -+ .name = "bcm47xx:" _color ":" _function, \ -+ .gpio = _gpio, \ -+ .active_low = _active_low, \ -+ .default_state = LEDS_GPIO_DEFSTATE_OFF, \ -+ .default_trigger = _default_trigger, \ -+ } -+ - /* Asus */ - - static const struct gpio_led -@@ -176,13 +186,13 @@ bcm47xx_leds_dell_tm2300[] __initconst = - - static const struct gpio_led - bcm47xx_leds_dlink_dir130[] __initconst = { -- BCM47XX_GPIO_LED(0, "green", "status", 1, LEDS_GPIO_DEFSTATE_OFF), /* Originally blinking when device is ready, separated from "power" LED */ -+ BCM47XX_GPIO_LED_TRIGGER(0, "green", "status", 1, "timer"), /* Originally blinking when device is ready, separated from "power" LED */ - BCM47XX_GPIO_LED(6, "blue", "unk", 1, LEDS_GPIO_DEFSTATE_OFF), - }; - - static const struct gpio_led - bcm47xx_leds_dlink_dir330[] __initconst = { -- BCM47XX_GPIO_LED(0, "green", "status", 1, LEDS_GPIO_DEFSTATE_OFF), /* Originally blinking when device is ready, separated from "power" LED */ -+ BCM47XX_GPIO_LED_TRIGGER(0, "green", "status", 1, "timer"), /* Originally blinking when device is ready, separated from "power" LED */ - BCM47XX_GPIO_LED(4, "unk", "usb", 1, LEDS_GPIO_DEFSTATE_OFF), - BCM47XX_GPIO_LED(6, "blue", "unk", 1, LEDS_GPIO_DEFSTATE_OFF), - }; |