aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-21 16:53:47 +0000
committerJohn Crispin <john@openwrt.org>2013-06-21 16:53:47 +0000
commit67f5f188b1f07726965e5c430a7657d836d67594 (patch)
tree862ac6283ce26038604ee9a34e2fbc8e7f6a5296
parente6ef318802935389283e3614df31ca6d36a5f7bf (diff)
downloadupstream-67f5f188b1f07726965e5c430a7657d836d67594.tar.gz
upstream-67f5f188b1f07726965e5c430a7657d836d67594.tar.bz2
upstream-67f5f188b1f07726965e5c430a7657d836d67594.zip
base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37000
-rw-r--r--target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm512012
-rw-r--r--target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx13
-rw-r--r--target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx15
-rw-r--r--target/linux/cns21xx/base-files/lib/preinit/05_cns21xx_load_button_drivers11
-rw-r--r--target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers11
-rw-r--r--target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers12
6 files changed, 0 insertions, 74 deletions
diff --git a/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120 b/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120
deleted file mode 100644
index 44f164adb6..0000000000
--- a/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-enable_reset_button() {
- insmod input-core
- insmod input-polldev
- insmod gpio_buttons
- insmod button-hotplug
-}
-
-boot_hook_add preinit_main enable_reset_button
-
-
diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx
deleted file mode 100644
index 317c8d15a6..0000000000
--- a/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-
-. /lib/ar71xx.sh
-
-
-preinit_enable_reset_button() {
- insmod gpio-button-hotplug
-}
-
-boot_hook_add preinit_main preinit_enable_reset_button
-
diff --git a/target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx b/target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx
deleted file mode 100644
index 0dfca73c22..0000000000
--- a/target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-enable_reset_button() {
- if [ "$brcm63xx_has_reset_button" = "true" ]; then
- insmod input-core
- insmod input-polldev
- insmod gpio_buttons
- insmod button-hotplug
- insmod gpio_keys_polled
- fi
-}
-
-boot_hook_add preinit_main enable_reset_button
-
-
diff --git a/target/linux/cns21xx/base-files/lib/preinit/05_cns21xx_load_button_drivers b/target/linux/cns21xx/base-files/lib/preinit/05_cns21xx_load_button_drivers
deleted file mode 100644
index fe71f98d0f..0000000000
--- a/target/linux/cns21xx/base-files/lib/preinit/05_cns21xx_load_button_drivers
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# Copyright (C) 2010 OpenWrt.org
-#
-
-preinit_load_button_drivers() {
- insmod input-core
- insmod gpio_keys
- insmod button-hotplug
-}
-
-boot_hook_add preinit_main preinit_load_button_drivers
diff --git a/target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers b/target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers
deleted file mode 100644
index ef1cce3608..0000000000
--- a/target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers
+++ /dev/null
@@ -1,11 +0,0 @@
-#
-# Copyright (C) 2013 OpenWrt.org
-#
-
-preinit_mpc85xx_load_input_drivers() {
- insmod input-core
- insmod gpio_keys
- insmod button-hotplug
-}
-
-boot_hook_add preinit_main preinit_mpc85xx_load_input_drivers
diff --git a/target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers b/target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers
deleted file mode 100644
index fbd4c83d89..0000000000
--- a/target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (C) 2011 OpenWrt.org
-#
-
-preinit_ramips_load_input_drivers() {
- insmod input-core
- insmod input-polldev
- insmod gpio_keys_polled
- insmod button-hotplug
-}
-
-boot_hook_add preinit_main preinit_ramips_load_input_drivers