aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch')
-rw-r--r--target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch b/target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch
index 9090491f9f..cc30e2d91e 100644
--- a/target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch
+++ b/target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch
@@ -1,10 +1,8 @@
HACK: register the GPIO driver earlier to ensure that gpio_request calls
from mach files succeed.
-Index: linux-4.14.18/drivers/gpio/gpio-ath79.c
-===================================================================
---- linux-4.14.18.orig/drivers/gpio/gpio-ath79.c
-+++ linux-4.14.18/drivers/gpio/gpio-ath79.c
+--- a/drivers/gpio/gpio-ath79.c
++++ b/drivers/gpio/gpio-ath79.c
@@ -322,7 +322,11 @@ static struct platform_driver ath79_gpio
.remove = ath79_gpio_remove,
};