ramips: rt305x: rename LEDs on the DIR-300-B1

SVN-Revision: 27806
This commit is contained in:
Gabor Juhos 2011-07-28 10:56:21 +00:00
parent 39689b648f
commit 42d3a55347
2 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ status_led_off() {
get_status_led() { get_status_led() {
case $(ramips_board_name) in case $(ramips_board_name) in
dir-300-b1) dir-300-b1)
status_led="dir-300b:green:status" status_led="d-link:green:status"
;; ;;
fonera20n) fonera20n)
status_led="fonera20n:green:power" status_led="fonera20n:green:power"

View file

@ -73,15 +73,15 @@ static struct physmap_flash_data dir_300b_flash_data = {
static struct gpio_led dir_300b_leds_gpio[] __initdata = { static struct gpio_led dir_300b_leds_gpio[] __initdata = {
{ {
.name = "dir-300b:amber:status", .name = "d-link:amber:status",
.gpio = DIR_300B_GPIO_LED_STATUS_AMBER, .gpio = DIR_300B_GPIO_LED_STATUS_AMBER,
.active_low = 1, .active_low = 1,
}, { }, {
.name = "dir-300b:green:status", .name = "d-link:green:status",
.gpio = DIR_300B_GPIO_LED_STATUS_GREEN, .gpio = DIR_300B_GPIO_LED_STATUS_GREEN,
.active_low = 1, .active_low = 1,
}, { }, {
.name = "dir-300b:blue:wps", .name = "d-link:blue:wps",
.gpio = DIR_300B_GPIO_LED_WPS, .gpio = DIR_300B_GPIO_LED_WPS,
.active_low = 1, .active_low = 1,
} }