From 67f5f188b1f07726965e5c430a7657d836d67594 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 21 Jun 2013 16:53:47 +0000 Subject: [PATCH] base-files: input/button drivers get loaded before preinit by procd Signed-off-by: John Crispin SVN-Revision: 37000 --- .../lib/preinit/05_reset_button_adm5120 | 12 ------------ .../lib/preinit/05_enable_reset_button_ar71xx | 13 ------------- .../lib/preinit/05_reset_button_brcm63xx | 15 --------------- .../lib/preinit/05_cns21xx_load_button_drivers | 11 ----------- .../lib/preinit/05_mpc85xx_load_input_drivers | 11 ----------- .../lib/preinit/05_ramips_load-input_drivers | 12 ------------ 6 files changed, 74 deletions(-) delete mode 100644 target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120 delete mode 100644 target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx delete mode 100644 target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx delete mode 100644 target/linux/cns21xx/base-files/lib/preinit/05_cns21xx_load_button_drivers delete mode 100644 target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers delete mode 100644 target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers 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 -- 2.30.2