diff options
Diffstat (limited to 'arch/sh/drivers/pci/ops-rts7751r2d.c')
-rw-r--r-- | arch/sh/drivers/pci/ops-rts7751r2d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/ops-rts7751r2d.c b/arch/sh/drivers/pci/ops-rts7751r2d.c index ec8430c8d2d1..b3fa3e2ef184 100644 --- a/arch/sh/drivers/pci/ops-rts7751r2d.c +++ b/arch/sh/drivers/pci/ops-rts7751r2d.c | |||
@@ -33,7 +33,7 @@ int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) | |||
33 | static struct resource sh7751_io_resource = { | 33 | static struct resource sh7751_io_resource = { |
34 | .name = "SH7751_IO", | 34 | .name = "SH7751_IO", |
35 | .start = 0x4000, | 35 | .start = 0x4000, |
36 | .end = 0x4000 + SH7751_PCI_IO_SIZE - 1, | 36 | .end = SH7751_PCI_IO_SIZE - 1, |
37 | .flags = IORESOURCE_IO | 37 | .flags = IORESOURCE_IO |
38 | }; | 38 | }; |
39 | 39 | ||
@@ -68,6 +68,7 @@ static struct sh4_pci_address_map sh7751_pci_map = { | |||
68 | 68 | ||
69 | int __init pcibios_init_platform(void) | 69 | int __init pcibios_init_platform(void) |
70 | { | 70 | { |
71 | __set_io_port_base(SH7751_PCI_IO_BASE); | ||
71 | return sh7751_pcic_init(&sh7751_pci_map); | 72 | return sh7751_pcic_init(&sh7751_pci_map); |
72 | } | 73 | } |
73 | 74 | ||