base-files: input/button drivers get loaded before preinit by procd
authorJohn Crispin <john@openwrt.org>
Fri, 21 Jun 2013 16:53:47 +0000 (16:53 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 21 Jun 2013 16:53:47 +0000 (16:53 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37000

target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120 [deleted file]
target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx [deleted file]
target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx [deleted file]
target/linux/cns21xx/base-files/lib/preinit/05_cns21xx_load_button_drivers [deleted file]
target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers [deleted file]
target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers [deleted file]

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 (file)
index 44f164a..0000000
+++ /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 (file)
index 317c8d1..0000000
+++ /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 (file)
index 0dfca73..0000000
+++ /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 (file)
index fe71f98..0000000
+++ /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 (file)
index ef1cce3..0000000
+++ /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 (file)
index fbd4c83..0000000
+++ /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