diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-16 17:13:38 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-16 17:13:38 +0000 |
commit | 2900208a8fd072362e8a1bc1e450d75da04f13bd (patch) | |
tree | d4baa712907b6c8c6b600cbef99393688354f21a /target/linux/mpc85xx/base-files | |
parent | 27b7bbd30b6aebee3d132520c9c0615efde57d9b (diff) |
mpc85xx: add input drivers to default packages, and load those during preinit
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx/base-files')
-rw-r--r-- | target/linux/mpc85xx/base-files/lib/preinit/05_mpc85xx_load_input_drivers | 11 |
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 |