Skip to content

Commit

Permalink
PCI: rcar: Remove unused pci_sys_data struct from pcie-rcar
Browse files Browse the repository at this point in the history
The pci_sys_data struct was previously used by pci_common_init_dev() and by
the ARM pcibios_align_resource(), but recent commits removed those uses:

  cbce790 ("PCI: designware: Make driver arch-agnostic")
  b3a7238 ("ARM/PCI: Replace pci_sys_data->align_resource with global function pointer")

cbce790 removed the use of pci_common_init_dev() by DesignWare
drivers, including pcie-rcar.c, and b3a7238 removed the use of struct
pci_sys_data by the ARM pcibios_align_resource().

Remove struct pci_sys_data from pcie-rcar.c.

[bhelgaas: changelog]
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Phil Edworthy authored and Bjorn Helgaas committed Jan 8, 2016
1 parent a37b3ea commit 049f419
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/pci/host/pcie-rcar.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,7 @@ static inline struct rcar_msi *to_rcar_msi(struct msi_controller *chip)
}

/* Structure representing the PCIe interface */
/*
* ARM pcibios functions expect the ARM struct pci_sys_data as the PCI
* sysdata. Add pci_sys_data as the first element in struct gen_pci so
* that when we use a gen_pci pointer as sysdata, it is also a pointer to
* a struct pci_sys_data.
*/
struct rcar_pcie {
#ifdef CONFIG_ARM
struct pci_sys_data sys;
#endif
struct device *dev;
void __iomem *base;
struct list_head resources;
Expand Down

0 comments on commit 049f419

Please sign in to comment.