[OpenWrt-Devel] [PATCH v2] ar71xx : Fix the sys LEDs on the EasyLink M150 and mini

John Crispin blogic at openwrt.org
Thu Aug 28 02:11:49 EDT 2014


Hi,

1) the patch is not sent inline but as an attachement
2) the patch does not apply with git am due to the windows style new lines

please start sending inline patches that are unix style and have no
whitespace errors

i am marking this one as rejected

    John




On 25/08/2014 14:44, L. D. Pinney wrote:
>
> From: L. D. Pinney <ldpinney at gmail.com>
>
> Sets the system LED on the EasyLink M150 and mini to lower-case
> "easylink"
>
> Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
>
> ---
> diff --git a/target/linux/ar71xx/base-files/etc/diag.sh
> b/target/linux/ar71xx/base-files/etc/diag.sh
> index 1864b11..faac4bd 100755
> --- a/target/linux/ar71xx/base-files/etc/diag.sh
> +++ b/target/linux/ar71xx/base-files/etc/diag.sh
> @@ -70,7 +70,7 @@ get_status_led() {
>          ;;
>      el-mini | \
>      el-m150)
> -        status_led="EasyLink:green:system"
> +        status_led="easylink:green:system"
>          ;;
>      gl-inet)
>          status_led="gl-connect:green:lan"
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> index 72a396d..b95d6c2 100644
> --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> @@ -44,7 +44,7 @@ static struct flash_platform_data EL_M150_flash_data
> = {
>
>  static struct gpio_led EL_M150_leds_gpio[] __initdata = {
>      {
> -        .name        = "ELINK:green:system",
> +        .name        = "easylink:green:system",
>          .gpio        = EL_M150_GPIO_LED_SYSTEM,
>          .active_low    = 1,
>      },
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> index aaccb0d..9879b18 100644
> --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> @@ -40,7 +40,7 @@ static struct flash_platform_data mini_flash_data = {
>
>  static struct gpio_led mini_leds_gpio[] __initdata = {
>      {
> -        .name        = "ELINK:green:system",
> +        .name        = "easylink:green:system",
>          .gpio        = MINI_GPIO_LED_SYSTEM,
>          .active_low    = 1,
>      },
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list