Explorar o código

ar71xx: change LED name prefix on the jjplus boards

SVN-Revision: 30956
Gabor Juhos %!s(int64=14) %!d(string=hai) anos
pai
achega
a680662391

+ 1 - 1
target/linux/ar71xx/base-files/etc/diag.sh

@@ -68,7 +68,7 @@ get_status_led() {
 		status_led="alfa:blue:wps"
 		;;
 	ja76pf)
-		status_led="ja76pf:green:led1"
+		status_led="jjplus:green:led1"
 		;;
 	ls-sr71)
 		status_led="ubnt:green:d22"

+ 3 - 3
target/linux/ar71xx/files/arch/mips/ath79/mach-ja76pf.c

@@ -28,15 +28,15 @@
 
 static struct gpio_led ja76pf_leds_gpio[] __initdata = {
 	{
-		.name		= "ja76pf:green:led1",
+		.name		= "jjplus:green:led1",
 		.gpio		= JA76PF_GPIO_LED_1,
 		.active_low	= 1,
 	}, {
-		.name		= "ja76pf:green:led2",
+		.name		= "jjplus:green:led2",
 		.gpio		= JA76PF_GPIO_LED_2,
 		.active_low	= 1,
 	}, {
-		.name		= "ja76pf:green:led3",
+		.name		= "jjplus:green:led3",
 		.gpio		= JA76PF_GPIO_LED_3,
 		.active_low	= 1,
 	}