From b6c576645f4a4790e7ffe73bccf47c520a99e011 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 28 Feb 2016 04:41:39 +0100 Subject: [PATCH] kernel/gpio_keys: load module on pre-init fix rescue mode on wdr4900 Backport of r48793 --- ...el-gpio_keys-load-module-on-pre-init.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 patches/openwrt/0045-kernel-gpio_keys-load-module-on-pre-init.patch diff --git a/patches/openwrt/0045-kernel-gpio_keys-load-module-on-pre-init.patch b/patches/openwrt/0045-kernel-gpio_keys-load-module-on-pre-init.patch new file mode 100644 index 00000000..cba048f6 --- /dev/null +++ b/patches/openwrt/0045-kernel-gpio_keys-load-module-on-pre-init.patch @@ -0,0 +1,21 @@ +From: Matthias Schiffer +Date: Sun, 28 Feb 2016 03:42:29 +0100 +Subject: kernel/gpio_keys: load module on pre-init + +fix rescue mode on wdr4900 + +Backport of r48793 + +diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk +index 86ff33c..eed9aa2 100644 +--- a/package/kernel/linux/modules/input.mk ++++ b/package/kernel/linux/modules/input.mk +@@ -75,7 +75,7 @@ define KernelPackage/input-gpio-keys + CONFIG_KEYBOARD_GPIO \ + CONFIG_INPUT_KEYBOARD=y + FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko +- AUTOLOAD:=$(call AutoProbe,gpio_keys) ++ AUTOLOAD:=$(call AutoProbe,gpio_keys,1) + endef + + define KernelPackage/input-gpio-keys/description