aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath25/patches-4.9/107-ar5312_gpio.patch
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2017-06-07 01:49:36 +0300
committerJohn Crispin <john@phrozen.org>2017-06-07 06:46:44 +0200
commit0827a0b4f1e598943302346f2fb70f9a3ff1f747 (patch)
treeb80a9db470eef80ed31ca95a5a8f94ed8be5001f /target/linux/ath25/patches-4.9/107-ar5312_gpio.patch
parent64083848e2e9924c154aef047ae857e67409d5bf (diff)
downloadupstream-0827a0b4f1e598943302346f2fb70f9a3ff1f747.tar.gz
upstream-0827a0b4f1e598943302346f2fb70f9a3ff1f747.tar.bz2
upstream-0827a0b4f1e598943302346f2fb70f9a3ff1f747.zip
ath25: 4.9: fix GPIO compile issues
Consider renaming the dev field to parent in the upstream. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Diffstat (limited to 'target/linux/ath25/patches-4.9/107-ar5312_gpio.patch')
-rw-r--r--target/linux/ath25/patches-4.9/107-ar5312_gpio.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath25/patches-4.9/107-ar5312_gpio.patch b/target/linux/ath25/patches-4.9/107-ar5312_gpio.patch
index f4426b52c5..ac729ee48e 100644
--- a/target/linux/ath25/patches-4.9/107-ar5312_gpio.patch
+++ b/target/linux/ath25/patches-4.9/107-ar5312_gpio.patch
@@ -177,7 +177,7 @@
+ if (IS_ERR(ar5312_mem))
+ return PTR_ERR(ar5312_mem);
+
-+ ar5312_gpio_chip.dev = dev;
++ ar5312_gpio_chip.parent = dev;
+ ret = gpiochip_add(&ar5312_gpio_chip);
+ if (ret) {
+ dev_err(dev, "failed to add gpiochip\n");