sh: Fixup r7780rp pata_platform for devres conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Feb 2007 05:49:04 +0000 (14:49 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Feb 2007 05:49:04 +0000 (14:49 +0900)
commit71074d3a2c70aa8a213222fef5014bfd9b3daf1f
treea8676aff8f72826910ede93a69f0afcb67ded2ea
parentdb2e1fa3f0eefbbe04e90d6e4d290ee176b28248
sh: Fixup r7780rp pata_platform for devres conversion.

Tidy up the R7780RP I/O mapping routines and switch the
pata_platform resources to IORESOURCE_MEM types, killing off
the useless port->addr conversion.

This fixes up R7780RP to boot after the recent devres conversion.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/r7780rp/io.c
arch/sh/boards/renesas/r7780rp/setup.c