diff options
author | John Crispin <blogic@openwrt.org> | 2013-06-21 16:53:47 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-06-21 16:53:47 +0000 |
commit | 623e6025a8d0956b268230e527a76d358764c808 (patch) | |
tree | c90f9fb96df05282fbb1cc7486640864f13fe182 /target | |
parent | 02f1075b0a09647702d4e4d25d617d65c8da912c (diff) | |
download | master-187ad058-623e6025a8d0956b268230e527a76d358764c808.tar.gz master-187ad058-623e6025a8d0956b268230e527a76d358764c808.tar.bz2 master-187ad058-623e6025a8d0956b268230e527a76d358764c808.zip |
base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
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 |