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)
commit045838bc7f47f142df82a5a95a1ced73d80705e1
tree26eab2499a593d92c00c049f32d72d3a6f573398
parentc1d55d50139bea6bfe964458272a93dd899efb83
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