summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/pfc-r8a77970.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-r8a77970.c
parent0ace959614bc2bbea9efde24b150f6c5513f1980 (diff)
downloadlinux-2f9f5094f8b7a1da8852c4a50b205232e62d72dc.tar.bz2
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-r8a77970.c')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-r8a77970.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77970.c b/drivers/pinctrl/sh-pfc/pfc-r8a77970.c
index f5868f5e4018..37d0c1f10901 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a77970.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a77970.c
@@ -12,6 +12,7 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
+#include <linux/errno.h>
#include <linux/io.h>
#include <linux/kernel.h>