aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath25
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath25')
-rw-r--r--target/linux/ath25/patches-4.9/107-ar5312_gpio.patch2
-rw-r--r--target/linux/ath25/patches-4.9/108-ar2315_gpio.patch2
2 files changed, 2 insertions, 2 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");
diff --git a/target/linux/ath25/patches-4.9/108-ar2315_gpio.patch b/target/linux/ath25/patches-4.9/108-ar2315_gpio.patch
index 6bb793d98c..cd9d8bcda8 100644
--- a/target/linux/ath25/patches-4.9/108-ar2315_gpio.patch
+++ b/target/linux/ath25/patches-4.9/108-ar2315_gpio.patch
@@ -310,7 +310,7 @@
+ if (IS_ERR(ar2315_mem))
+ return PTR_ERR(ar2315_mem);
+
-+ ar2315_gpio_chip.dev = dev;
++ ar2315_gpio_chip.parent = dev;
+ ret = gpiochip_add(&ar2315_gpio_chip);
+ if (ret) {
+ dev_err(dev, "failed to add gpiochip\n");