diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-01-25 14:57:53 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-04-02 09:57:50 +0200 |
commit | 2f9f5094f8b7a1da8852c4a50b205232e62d72dc (patch) | |
tree | be5b0032f61f76904ff1946f2daf59e4916707a2 /drivers/pinctrl/sh-pfc/pfc-r8a7796.c | |
parent | pinctrl: sh-pfc: Introduce PINCTRL_SH_FUNC_GPIO helper symbol (diff) | |
download | linux-2f9f5094f8b7a1da8852c4a50b205232e62d72dc.tar.xz linux-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-r8a7796.c')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7796.c b/drivers/pinctrl/sh-pfc/pfc-r8a7796.c index a99c519e05a0..bb1255b9bc24 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7796.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7796.c @@ -11,6 +11,7 @@ * Copyright (C) 2015 Renesas Electronics Corporation */ +#include <linux/errno.h> #include <linux/kernel.h> #include "core.h" |