mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
ARM: shmobile: add new __iomem annotation for new code
While we fixed up all instances that were already present in v3.6, this one came in through new code. Without this patch, building kzm9g_defconfig results in: arch/arm/mach-shmobile/board-kzm9g.c: In function 'kzm9g_restart': arch/arm/mach-shmobile/board-kzm9g.c:781:2: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [enabled by default] Signed-off-by: Arnd Bergmann <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Kuninori Morimoto <[email protected]> Cc: Tetsuyuki Kobayashi <[email protected]> Cc: Simon Horman <[email protected]>
This commit is contained in:
parent
8f91465d5e
commit
28901c1fed
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ static void __init kzm_init(void)
|
|||
|
||||
static void kzm9g_restart(char mode, const char *cmd)
|
||||
{
|
||||
#define RESCNT2 0xe6188020
|
||||
#define RESCNT2 IOMEM(0xe6188020)
|
||||
/* Do soft power on reset */
|
||||
writel((1 << 31), RESCNT2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue