PCI: rcar: Move shareable code to a common file
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Thu, 7 May 2020 12:33:13 +0000 (13:33 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 11 May 2020 10:29:47 +0000 (11:29 +0100)
commit78a0d7f2f5a31357bce68012d886507b4cf33598
treeae7040d9858af0c1415fea6998f0d09507ce30a3
parenta18f4b6ea50b81e28bd05381883a531ab345f753
PCI: rcar: Move shareable code to a common file

Move shareable code to common file pcie-rcar.c and the #defines to
pcie-rcar.h so that the common code can be reused with endpoint driver.
There are no functional changes with this patch for the host controller
driver.

Link: https://lore.kernel.org/r/1588854799-13710-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
drivers/pci/controller/Makefile
drivers/pci/controller/pcie-rcar-host.c
drivers/pci/controller/pcie-rcar.c [new file with mode: 0644]
drivers/pci/controller/pcie-rcar.h [new file with mode: 0644]