sparc32: fix sparse warning in auxio_32.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:25:43 +0000 (23:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:27 +0000 (19:01 -0700)
commitd2aca8f9a64c26dcd9b3eb27db949f830eb80b28
tree947028ac39abd24dbd624dc5108ad35f92a146cd
parent7738925de8500093638dd7fa0e5c1d8128c9fc6a
sparc32: fix sparse warning in auxio_32.c

Fix following warning:
auxio_32.c:133:33: warning: cast removes address space of expression

To fix this auxio_power_register had to be defined as u8 _iomem.
Use proper sbus operations on the pointer.

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