PCI: designware: Fold struct pcie_port_info into struct pcie_port
authorPratyush Anand <pratyush.anand@st.com>
Fri, 5 Sep 2014 23:48:54 +0000 (17:48 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 5 Sep 2014 23:48:54 +0000 (17:48 -0600)
commitadf70fc087b1750c3792cd56abc6a45e49bb3a11
tree367e52effec28c366b7d2c9adf1f2db9f1a4d09f
parent84a263f39403ca3b399af77499876e02e634b00b
PCI: designware: Fold struct pcie_port_info into struct pcie_port

The struct pcie_port_info doesn't contain any exclusive information
compared to other elements of struct pcie_port.  So, keeping a separate
structure does not seem very logical.  Therefore remove this struct and
embed its elements directly into struct pcie_port.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Mohit Kumar <mohit.kumar@st.com>
drivers/pci/host/pcie-designware.c
drivers/pci/host/pcie-designware.h