aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-28 19:28:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-28 19:28:02 +0000
commit0e84ed29ea6e824e01f24b9f0918e9f28ad583cd (patch)
treebb7234f6f7ef8e541716057597be3d5ca1552ee4 /target/linux/ar71xx
parent7417cfdda3528afb5bad75be32bc0df6969e1f6c (diff)
downloadupstream-0e84ed29ea6e824e01f24b9f0918e9f28ad583cd.tar.gz
upstream-0e84ed29ea6e824e01f24b9f0918e9f28ad583cd.tar.bz2
upstream-0e84ed29ea6e824e01f24b9f0918e9f28ad583cd.zip
preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)
SVN-Revision: 19370
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx (renamed from target/linux/ar71xx/base-files/lib/preinit/05_enable_leds_ar71xx)4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_enable_leds_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx
index 0b130fbf2c..2b4e4adb53 100644
--- a/target/linux/ar71xx/base-files/lib/preinit/05_enable_leds_ar71xx
+++ b/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx
@@ -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