diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar7/config-2.6.23 | 1 | ||||
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/platform.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar7/config-2.6.23 b/target/linux/ar7/config-2.6.23 index 98e5cf0401..91a6f19501 100644 --- a/target/linux/ar7/config-2.6.23 +++ b/target/linux/ar7/config-2.6.23 @@ -68,6 +68,7 @@ CONFIG_IRQ_CPU=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y # CONFIG_LEMOTE_FULONG is not set # CONFIG_MACH_ALCHEMY is not set # CONFIG_MACH_DECSTATION is not set diff --git a/target/linux/ar7/files/arch/mips/ar7/platform.c b/target/linux/ar7/files/arch/mips/ar7/platform.c index d5a9f39455..22c79f586f 100644 --- a/target/linux/ar7/files/arch/mips/ar7/platform.c +++ b/target/linux/ar7/files/arch/mips/ar7/platform.c @@ -334,7 +334,7 @@ static struct gpio_led dg834g_leds[] = { { .name = "status", .gpio = 7, .active_low = 1, }, { .name = "adsl", .gpio = 8, .active_low = 1, }, { .name = "wifi", .gpio = 12, .active_low = 1, }, - { .name = "power", .gpio = 14, .active_low = 1, }, + { .name = "power", .gpio = 14, .active_low = 1, .default_trigger = "default-on", }, }; static struct gpio_led fb_sl_leds[] = { |