public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] include: introduce include/linux/io.h as a wrapper of asm/io.h
@ 2015-05-15 13:05 Masahiro Yamada
  2015-05-28 13:23 ` [U-Boot] [U-Boot, " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-05-15 13:05 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [U-Boot, v2] include: introduce include/linux/io.h as a wrapper of asm/io.h
  2015-05-15 13:05 [U-Boot] [PATCH v2] include: introduce include/linux/io.h as a wrapper of asm/io.h Masahiro Yamada
@ 2015-05-28 13:23 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-05-28 13:23 UTC (permalink / raw)
  To: u-boot

On Fri, May 15, 2015 at 10:05:18PM +0900, Masahiro Yamada wrote:

> 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@socionext.com>

Applied to u-boot/master, thanks!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-28 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 13:05 [U-Boot] [PATCH v2] include: introduce include/linux/io.h as a wrapper of asm/io.h Masahiro Yamada
2015-05-28 13:23 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox