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

John Crispin blogic at openwrt.org
Mon Aug 25 02:26:39 EDT 2014


Hi,

patch does not apply so i tried to apply it manually and then noticed
that if we change the led name can we at the same time make it all
lower case ?

	John

On 20/08/2014 14:16, L. D. Pinney wrote:
> 
> From: L. D. Pinney <ldpinney at gmail.com>
> 
> This Patch sets the system LED on the EasyLink M150 and mini to
> "EasyLink"
> 
> Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
> 
> --- 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..6701d3e 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..4af9abd 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