summaryrefslogtreecommitdiff
path: root/arch/sh/drivers/pci/ops-sh03.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-12-17 03:54:09 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 09:44:45 (GMT)
commit43eeb0fb9f4e2aaefc4ae9dc964308ce8f55998b (patch)
tree1bdf71886653d0027094567957b3e229ab6f5362 /arch/sh/drivers/pci/ops-sh03.c
parent8db806ec80ce80605005d1d558add716152a1134 (diff)
downloadlinux-fsl-qoriq-43eeb0fb9f4e2aaefc4ae9dc964308ce8f55998b.tar.xz
sh: mach-sh03: Use __set_io_port_base(), kill off special ioport_map().
This also fixes up a long-standing bug for this platform where the PIO base was set to a register offset, rather than the actual PIO offset itself. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/ops-sh03.c')
-rw-r--r--arch/sh/drivers/pci/ops-sh03.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/ops-sh03.c b/arch/sh/drivers/pci/ops-sh03.c
index ebb58e6..e1703ff 100644
--- a/arch/sh/drivers/pci/ops-sh03.c
+++ b/arch/sh/drivers/pci/ops-sh03.c
@@ -18,7 +18,8 @@
*/
int __init pcibios_init_platform(void)
{
- return 1;
+ __set_io_port_base(SH7751_PCI_IO_BASE);
+ return 1;
}
static struct resource sh7751_io_resource = {