projects
/
openwrt
/
staging
/
zorun.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: gpio-ralink: use ngpios, not ralink,num-gpios
[openwrt/staging/zorun.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 eae507bcd7b608cb2dd90b0b14acd67ef57e10cf..525c1976f915a39c04345818375bb7378024ee18 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,num-
gpios", NULL);
++ ngpio = of_get_property(np, "
n
gpios", NULL);
+ if (!ngpio) {
+ dev_err(&pdev->dev, "failed to read number of pins\n");
+ return -EINVAL;