Skip to content

Commit

Permalink
ARM: shmobile: bockw: fixup FPGA ioremap area
Browse files Browse the repository at this point in the history
Don't keep FPGA ioremap area.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Dec 10, 2013
1 parent a2baf19 commit b6d3eba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/mach-shmobile/board-bockw-reference.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static const struct pinctrl_map bockw_pinctrl_map[] = {
#define COMCTLR 0x101c
static void __init bockw_init(void)
{
static void __iomem *fpga;
void __iomem *fpga;

r8a7778_clock_init();
r8a7778_init_irq_extpin_dt(1);
Expand All @@ -62,6 +62,8 @@ static void __init bockw_init(void)
u16 val = ioread16(fpga + IRQ0MR);
val &= ~(1 << 4); /* enable SMSC911x */
iowrite16(val, fpga + IRQ0MR);

iounmap(fpga);
}

of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
Expand Down

0 comments on commit b6d3eba

Please sign in to comment.