[U-Boot] [PATCH v2] include: introduce include/linux/io.h as a wrapper of asm/io.h
Masahiro Yamada
yamada.masahiro at socionext.com
Fri May 15 15:05:18 CEST 2015
In the latest Linux coding style, <linux/io.h> should be included
rather than <asm/io.h>. To follow this standard also 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>
---
Changes in v2:
- Fix a typo s/introcude/introduce/
- Remove a redundant whitespace
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..1b36a22
--- /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