aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-01-25 14:57:53 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-04-02 09:57:50 +0200
commit2f9f5094f8b7a1da8852c4a50b205232e62d72dc (patch)
treebe5b0032f61f76904ff1946f2daf59e4916707a2 /drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
parentpinctrl: sh-pfc: Introduce PINCTRL_SH_FUNC_GPIO helper symbol (diff)
downloadlinux-dev-2f9f5094f8b7a1da8852c4a50b205232e62d72dc.tar.xz
linux-dev-2f9f5094f8b7a1da8852c4a50b205232e62d72dc.zip
pinctrl: sh-pfc: Add missing #include <linux/errno.h>
Source files using -Exxx error codes should include <linux/errno.h>. On ARM, this header file is included indirectly; on SuperH, it is not, leading to "error: ‘EINVAL’ undeclared" failures when enabling compile-testing later. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
index 0ef7ada08316..52a0fa8abfcc 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
@@ -5,6 +5,7 @@
* Copyright (C) 2015-2017 Renesas Electronics Corporation
*/
+#include <linux/errno.h>
#include <linux/kernel.h>
#include "core.h"