projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: replace pinctrl property names
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
ramips
/
patches-5.4
/
0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
diff --git
a/target/linux/ramips/patches-5.4/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
b/target/linux/ramips/patches-5.4/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
index 3d78ef40c6ed0c3b2155cc26b62b61653ccec4fb..eae507bcd7b608cb2dd90b0b14acd67ef57e10cf 100644
(file)
--- a/
target/linux/ramips/patches-5.4/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
+++ b/
target/linux/ramips/patches-5.4/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
@@
-357,7
+357,7
@@
Cc: linux-gpio@vger.kernel.org
+ return -EINVAL;
+ }
+
-+ ngpio = of_get_property(np, "ralink,n
r-gpio
", NULL);
++ ngpio = of_get_property(np, "ralink,n
um-gpios
", NULL);
+ if (!ngpio) {
+ dev_err(&pdev->dev, "failed to read number of pins\n");
+ return -EINVAL;