]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: rockchip: Split out rockchip_pcie_parse_dt() to parse DT
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 9 May 2018 01:12:05 +0000 (09:12 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 10 May 2018 11:02:18 +0000 (12:02 +0100)
commit11c1c934989a41ca8d45fc9180e12d87b75d6e4e
tree5da8250ee0af67cf992bc5252d300db83c1d306f
parentf91827d961a437af1e4687295664fc2ea5e162c4
PCI: rockchip: Split out rockchip_pcie_parse_dt() to parse DT

Most of the DT properties are used for both of RC driver and EP driver,
so split them out in a new function, rockchip_pcie_parse_dt(), in
pcie-rockchip.c and rename the original function to
rockchip_pcie_parse_host_dt() to avoid confusion.

No functional changed intended.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: Jeffy Chen <jeffy.chen@rock-chips.com>
drivers/pci/host/pcie-rockchip-host.c
drivers/pci/host/pcie-rockchip.c
drivers/pci/host/pcie-rockchip.h