sparc32: fix sparse warning in io-unit.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:25:41 +0000 (23:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:26 +0000 (19:01 -0700)
commit1918660b9045c04545f5c5088f573c67ecff9927
tree48b84269991dfa858e1f261f57ff292ba0456230
parentf977ea49ae24c3bf0595725465b9ca25385de307
sparc32: fix sparse warning in io-unit.c

Fix following warning:
io-unit.c:56:13: warning: incorrect type in assignment (different address spaces)

The page table for the io unit resides in __iomem.
Fix up all users of the io unit page table.
Introduce sbus helers for all read/write operations.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/io-unit.h
arch/sparc/mm/io-unit.c