diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch b/target/linux/ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch index 6e0d6431f0..dc4585231b 100644 --- a/target/linux/ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch +++ b/target/linux/ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch @@ -193,7 +193,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + } + + if (!max_maps) -+ return max_maps; ++ return -EINVAL; + + *map = kzalloc(max_maps * sizeof(struct pinctrl_map), GFP_KERNEL); + if (!*map) |