PCI: rcar: Drop gen2 dummy I/O port region
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jun 2016 14:19:34 +0000 (09:19 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 25 Jun 2016 12:44:23 +0000 (07:44 -0500)
commitb2a5d3e2cf65e46522b695b76f93ec1b0f6cad30
tree953f10f1497d994255ac65148e8caf3750f11a8b
parent1fa051018d85b829e4b9a7ed20147df8760293ee
PCI: rcar: Drop gen2 dummy I/O port region

Previously we added a dummy I/O port region even though the R-Car
controller doesn't support PCI port I/O.  This resulted in bogus root bus
resources like this:

  pci_bus 0000:00: root bus resource [io  0xee080000-0xee0810ff]
  pci_bus 0000:00: root bus resource [mem 0xee080000-0xee0810ff]

Drop the unused dummy I/O port region and set struct hw_pci.io_optional so
the ARM PCI code doesn't add a default one for us.

Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-rcar-gen2.c