]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: io: Fixup defines and move include to the end
authorStafford Horne <shorne@gmail.com>
Mon, 3 Aug 2020 23:40:57 +0000 (08:40 +0900)
committerStafford Horne <shorne@gmail.com>
Wed, 5 Aug 2020 21:01:47 +0000 (06:01 +0900)
commit5f84d181e50b8527ac3d81cbdfe77a6c623d4e34
tree26eab2499a593d92c00c049f32d72d3a6f573398
parentfedaab9cd132bf9dcd6277ff8f3edfe98eceb728
openrisc: io: Fixup defines and move include to the end

This didn't seem to cause any issues, but while working on fixing up
sparse annotations for OpenRISC I noticed this.  This patch moves the
include of asm-generic/io.h to the end of the file.  Also, we add
defines of ioremap and iounmap, that way we don't get duplicate
definitions from asm-generic/io.h.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/include/asm/io.h