[U-Boot] [PATCH v2 06/22] ARM: uniphier: include <linux/io.h> from boot-device.c

Masahiro Yamada yamada.masahiro at socionext.com
Wed Jul 10 11:07:34 UTC 2019


This file calls readl(), so needs to include <linux/io.h>.
Currently, it relies on someone else including it.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/boot-device/boot-device.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-uniphier/boot-device/boot-device.c b/arch/arm/mach-uniphier/boot-device/boot-device.c
index c8339dbe1ba8..59302150b89c 100644
--- a/arch/arm/mach-uniphier/boot-device/boot-device.c
+++ b/arch/arm/mach-uniphier/boot-device/boot-device.c
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <spl.h>
 #include <stdio.h>
+#include <linux/io.h>
 #include <linux/log2.h>
 
 #include "../init.h"
-- 
2.17.1



More information about the U-Boot mailing list