Commit 2f9f5094 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 0ace9596
......@@ -5,6 +5,7 @@
* Copyright (C) 2018 Renesas Electronics Corp.
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "sh_pfc.h"
......
......@@ -8,6 +8,7 @@
* Copyright (C) 2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
*/
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/sys_soc.h>
......
......@@ -6,6 +6,7 @@
* Copyright (C) 2014-2017 Cogent Embedded, Inc.
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "sh_pfc.h"
......
......@@ -7,6 +7,7 @@
* Copyright (C) 2015-2017 Cogent Embedded, Inc. <source@cogentembedded.com>
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sys_soc.h>
......
......@@ -5,6 +5,7 @@
* Copyright (C) 2015-2017 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "core.h"
......
......@@ -5,6 +5,7 @@
* Copyright (C) 2015-2017 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sys_soc.h>
......
......@@ -11,6 +11,7 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "core.h"
......
......@@ -12,6 +12,7 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "core.h"
......
......@@ -12,6 +12,7 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/kernel.h>
......
......@@ -12,6 +12,7 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/kernel.h>
......
......@@ -11,6 +11,7 @@
* Copyright (C) 2016-2017 Renesas Electronics Corp.
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "core.h"
......
......@@ -11,6 +11,7 @@
* Copyright (C) 2015 Renesas Electronics Corporation
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include "core.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment