aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-16 18:00:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-16 18:00:26 +0000
commita9e99d72eab0c6357b805309ce0614f6c98f2d36 (patch)
tree90624b7f65134de16f14b223c6b6ee3c34033d5d /target/linux/ar71xx
parent029ade3805915bf659dff1652816d71f67d4fdad (diff)
downloadupstream-a9e99d72eab0c6357b805309ce0614f6c98f2d36.tar.gz
upstream-a9e99d72eab0c6357b805309ce0614f6c98f2d36.tar.bz2
upstream-a9e99d72eab0c6357b805309ce0614f6c98f2d36.zip
ar71xx: change LED name prefix on the jjplus boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-ja76pf.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 3d57854afa..9552b8aa3f 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/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"
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ja76pf.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ja76pf.c
index 46c12c1be3..1f170763a4 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ja76pf.c
+++ b/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,
}