diff options
Diffstat (limited to 'arch/sh/drivers/pci/pci.c')
-rw-r--r-- | arch/sh/drivers/pci/pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c index 60ee09a4e121..a09c77dd09db 100644 --- a/arch/sh/drivers/pci/pci.c +++ b/arch/sh/drivers/pci/pci.c | |||
@@ -382,14 +382,13 @@ static void __iomem *ioport_map_pci(struct pci_dev *dev, | |||
382 | struct pci_channel *chan = dev->sysdata; | 382 | struct pci_channel *chan = dev->sysdata; |
383 | 383 | ||
384 | if (unlikely(!chan->io_map_base)) { | 384 | if (unlikely(!chan->io_map_base)) { |
385 | chan->io_map_base = generic_io_base; | 385 | chan->io_map_base = sh_io_port_base; |
386 | 386 | ||
387 | if (pci_domains_supported) | 387 | if (pci_domains_supported) |
388 | panic("To avoid data corruption io_map_base MUST be " | 388 | panic("To avoid data corruption io_map_base MUST be " |
389 | "set with multiple PCI domains."); | 389 | "set with multiple PCI domains."); |
390 | } | 390 | } |
391 | 391 | ||
392 | |||
393 | return (void __iomem *)(chan->io_map_base + port); | 392 | return (void __iomem *)(chan->io_map_base + port); |
394 | } | 393 | } |
395 | 394 | ||