include: introduce include/linux/io.h as a wrapper of asm/io.h
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>.
Signed-off-by Masahiro Yamada <[email protected]>
---
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
@@ -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
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, addinclude/linux/io.h. Currently, it just includes <asm/io.h>.Signed-off-by Masahiro Yamada <[email protected]>
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>