aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-16 17:13:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-16 17:13:38 +0000
commit62e80eba3176151b7d8ccc7dddcc9abaf5650706 (patch)
tree5f9c68e1ac166de85d5da910224bcc20059b27cb /target/linux/mpc85xx/base-files
parentce6a7543fe93a7f5f8608d842520f74550ed9054 (diff)
downloadupstream-62e80eba3176151b7d8ccc7dddcc9abaf5650706.tar.gz
upstream-62e80eba3176151b7d8ccc7dddcc9abaf5650706.tar.bz2
upstream-62e80eba3176151b7d8ccc7dddcc9abaf5650706.zip
mpc85xx: add input drivers to default packages, and load those during preinit
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35626
Diffstat (limited to 'target/linux/mpc85xx/base-files')
-rw-r--r--target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers11
1 files changed, 11 insertions, 0 deletions
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
new file mode 100644
index 0000000000..ef1cce3608
--- /dev/null
+++ b/target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers
@@ -0,0 +1,11 @@
+#
+# 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