Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120141
b: refs/heads/master
c: 98a955d
h: refs/heads/master
i:
  120139: b6dcaa5
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 0f284b2 commit 1a7ce0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2125a46083dc5a9aa321c243e322638a9338cd11
refs/heads/master: 98a955da8525a4218c8186fba5a6b949f563bbea
14 changes: 3 additions & 11 deletions trunk/arch/sh/boards/board-shmin.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,13 @@ static void __init init_shmin_irq(void)
plat_irq_setup_pins(IRQ_MODE_IRQ);
}

static void __iomem *shmin_ioport_map(unsigned long port, unsigned int size)
static void __init shmin_setup(char **cmdline_p)
{
static int dummy;

if ((port & ~0x1f) == SHMIN_NE_BASE)
return (void __iomem *)(SHMIN_IO_BASE + port);

dummy = 0;

return &dummy;

__set_io_port_base(SHMIN_IO_BASE);
}

static struct sh_machine_vector mv_shmin __initmv = {
.mv_name = "SHMIN",
.mv_setup = shmin_setup,
.mv_init_irq = init_shmin_irq,
.mv_ioport_map = shmin_ioport_map,
};

0 comments on commit 1a7ce0b

Please sign in to comment.