[U-Boot] [PATCH] include: introcude include/linux/io.h as a wrapper of asm/io.h
Masahiro Yamada
yamada.masahiro at socionext.com
Fri May 15 14:43:43 CEST 2015
In Linux coding style, <linux/io.h> should be included rather than
<asm/io.h>. To follow this style in U-boot, add include/linux/io.h.
Currently, it just includes <asm/io.h>.
Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---
include/linux/io.h | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 include/linux/io.h
diff --git a/include/linux/io.h b/include/linux/io.h
new file mode 100644
index 0000000..1803edb
--- /dev/null
+++ b/include/linux/io.h
@@ -0,0 +1,10 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _LINUX_IO_H
+#define _LINUX_IO_H
+
+#include <asm/io.h>
+
+#endif /* _LINUX_IO_H */
--
1.9.1
More information about the U-Boot
mailing list