From 4ee4fc972553bea8d9c533018a7a2f405c46114d Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 15 Aug 2011 14:11:47 +0000 Subject: [PATCH] ramips: load the input drivers during preinit SVN-Revision: 27992 --- .../lib/preinit/05_ramips_load-input_drivers | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/ramips/base-files/lib/preinit/05_ramips_load-input_drivers 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