linux/io.h: import generic ioread* / iowrite* accessors from Linux
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Aug 2017 16:02:39 +0000 (01:02 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 12 Sep 2017 22:02:23 +0000 (18:02 -0400)
commit6c06f8dc4ab02890ef93b50dac129c2b43cc9ea3
treededeecaa9e167dc6523c0c8d7fe9f454f2f49829
parentb27af39935855c88ef2203dcfc1ff54e013237c4
linux/io.h: import generic ioread* / iowrite* accessors from Linux

Some drivers in Linux (ex. drivers/mtd/nand/denali.c) use
ioread*/iowrite* accessors.  Import them to make drivers more
synced.  I copied code from include/asm-generic/io.h of Linux.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/linux/io.h