MLK-15080 PCI: imx: pcie ep can't be probed properly
authorRichard Zhu <hongxing.zhu@nxp.com>
Fri, 11 Jan 2019 10:17:43 +0000 (15:47 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commite670499050f92a51bc445907457173a4cacde0c4
tree4033af1a3da4da4c0267db874a6c69f3e68d3650
parentcaf8792a292ba39fb5fe703ca9bbdedaa4d93f84
MLK-15080 PCI: imx: pcie ep can't be probed properly

iMX7D Sabre SD board implement the GPIO expander
connected to a peripheral bus.
Probe deferral would be triggered when try to request
the expanded GPIO at the first time.
pcie ep can't be probed properly at the second probe,
because of the duplicated registration of the sysfs.

Change the registration point of the sysfs to fix
this issue.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
rebase on v4.19
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/pci/controller/dwc/pci-imx6.c