PCI: dwc: all: Split struct pcie_port into host-only and core structures
Keep only the host-specific members in struct pcie_port and move the common
members (i.e common to both host and endpoint) to struct dw_pcie. This is
in preparation for adding endpoint mode support to designware driver.
While at that also fix checkpatch warnings.
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Jingoo Han <[email protected]>
CC: Richard Zhu <[email protected]>
CC: Lucas Stach <[email protected]>
CC: Murali Karicheri <[email protected]>
CC: Minghuan Lian <[email protected]>
CC: Mingkai Hu <[email protected]>
CC: Roy Zang <[email protected]>
CC: Thomas Petazzoni <[email protected]>
CC: Niklas Cassel <[email protected]>
CC: Jesper Nilsson <[email protected]>
CC: Joao Pinto <[email protected]>
CC: Zhou Wang <[email protected]>
CC: Gabriele Paoloni <[email protected]>
CC: Stanimir Varbanov <[email protected]>
CC: Pratyush Anand <[email protected]>