X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fpatches-4.14%2F0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch;h=eaae0d3d02f70a9cac69c50d13e4a8dba2b7a956;hp=35cedf61fdf04eebd79011f9d0fd90621a2fdb2e;hb=d8e7a526a38499e1d1368829a76e4a0e541893b0;hpb=1bad2b74aea59289c21209aa1d8e5c2ccef74a72 diff --git a/target/linux/ramips/patches-4.14/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch b/target/linux/ramips/patches-4.14/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch index 35cedf61fd..eaae0d3d02 100644 --- a/target/linux/ramips/patches-4.14/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch +++ b/target/linux/ramips/patches-4.14/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch @@ -371,7 +371,7 @@ Cc: linux-gpio@vger.kernel.org + return -EINVAL; + } + -+ ngpio = of_get_property(np, "ralink,num-gpios", NULL); ++ ngpio = of_get_property(np, "ralink,nr-gpio", NULL); + if (!ngpio) { + dev_err(&pdev->dev, "failed to read number of pins\n"); + return -EINVAL;