summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-15 14:11:47 +0000
commit4ee4fc972553bea8d9c533018a7a2f405c46114d (patch)
tree69933e6d050a8d9652b16cd712720ad917e0a706 /target
parenta3c7e71ae1af9468039770158ce861e759ef4191 (diff)
downloadmtk-20170518-4ee4fc972553bea8d9c533018a7a2f405c46114d.zip
mtk-20170518-4ee4fc972553bea8d9c533018a7a2f405c46114d.tar.gz
mtk-20170518-4ee4fc972553bea8d9c533018a7a2f405c46114d.tar.bz2
ramips: load the input drivers during preinit
SVN-Revision: 27992
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers12
1 files changed, 12 insertions, 0 deletions
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
new file mode 100644
index 0000000..a41b153
--- /dev/null
+++ b/target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers
@@ -0,0 +1,12 @@
+#
+# Copyright (C) 2011 OpenWrt.org
+#
+
+preinit_ramips_load_input_drivers() {
+ insmod input-core
+ insmod input-polldev
+ insmod gpio_buttons
+ insmod button-hotplug
+}
+
+boot_hook_add preinit_main preinit_ramips_load_input_drivers