Skip to contentSkip to conversation

include: introduce include/linux/io.h as a wrapper of asm/io.h

PATCH New Masahiro Yamada 2 participants 2 messages May 15, 2015 – May 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 include: introduce include/linux/io.h as a wrapper of asm/io.h

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>.

---

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
include/linux/io.h new file +10 -0
new file mode 100644
index 0000000..1b36a22
@@ -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 */
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 include: introduce include/linux/io.h as a wrapper of asm/io.h

Quoted 5 lines · Masahiro Yamada

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>.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150528/52367363/attachment.sig>