aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
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
commit25f2759ed03b2adec54c32464d85a965ac7f492e (patch)
tree7c88d37707446c539b1e814856b71be09c7d1c40 /target/linux/ramips/base-files
parentfa14f8d9655e6a6ea9bfe2c128798776d76148c3 (diff)
downloadupstream-25f2759ed03b2adec54c32464d85a965ac7f492e.tar.gz
upstream-25f2759ed03b2adec54c32464d85a965ac7f492e.tar.bz2
upstream-25f2759ed03b2adec54c32464d85a965ac7f492e.zip
ramips: load the input drivers during preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27992 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-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 0000000000..a41b1534fa
--- /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