CNS3xxx: Remove artificial dependency on pci_sys_data domain.
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 21 Nov 2014 11:29:25 +0000 (11:29 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 28 Dec 2014 01:19:16 +0000 (18:19 -0700)
commitc88d54ba0c3d89b925bfb8e98b13a3f55b55cde4
tree35d6acc2072315c98b30d9fe23c3ef746815a64c
parent7c674700098c87b305b99652e3c694c4ef195866
CNS3xxx: Remove artificial dependency on pci_sys_data domain.

On cns3xxx platforms the PCI controller probing code relies on an
artificial dependency on the domain number to look-up the internal data
structures.

This patch reworks the host controller control data structure and adds a
domain equivalent field named port in it so that the dependency on
pci_sys_data domain field can be eventually removed.

Acked-by: Krzysztof HaƂasa <khalasa@piap.pl>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[lp: added commit log, removed pci_sys_data domain references]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arm/mach-cns3xxx/pcie.c