Message ID | 201209282002.28445.arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Sep 28, 2012 at 08:02:28PM +0000, Arnd Bergmann wrote: > On Tuesday 28 August 2012, Simon Horman wrote: > > ---------------------------------------------------------------- > > Tetsuyuki Kobayashi (1): > > ARM: shmobile: kzm9g: enable restarting > > > > arch/arm/mach-shmobile/board-kzm9g.c | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > This patch ended up causing a new build warning in combination > with the io.h changes in Russell's tree. > > I've just applied this patch on top, which is the same thing we > did to all the other open-coded mmio locations. Thanks, sorry for missing that.
diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index fd21fb6..5d792e4 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c @@ -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); }