ramips: load the input drivers during preinit
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2011 14:11:47 +0000 (14:11 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2011 14:11:47 +0000 (14:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27992 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers [new file with mode: 0644]

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 (file)
index 0000000..a41b153
--- /dev/null
@@ -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
This page took 0.027292 seconds and 4 git commands to generate.