aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
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')
-rw-r--r--target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120 (renamed from target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120)4
-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
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120 b/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120
index 01b2f7ea12..44f164adb6 100644
--- a/target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120
+++ b/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120
@@ -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
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