preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)

SVN-Revision: 19370
lede-17.01
Felix Fietkau 2010-01-28 19:28:02 +00:00
parent 7417cfdda3
commit 0e84ed29ea
2 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
#!/bin/sh
enable_leds() {
enable_reset_button() {
insmod input-core
insmod input-polldev
insmod gpio_buttons
insmod button-hotplug
}
boot_hook_add preinit_main enable_leds
boot_hook_add preinit_main enable_reset_button

View File

@ -5,12 +5,12 @@
. /lib/ar71xx.sh
preinit_enable_leds() {
preinit_enable_reset_button() {
insmod input-core
insmod input-polldev
insmod gpio_buttons
insmod button-hotplug
}
boot_hook_add preinit_main preinit_enable_leds
boot_hook_add preinit_main preinit_enable_reset_button