MLK-15080 PCI: imx: pcie ep can't be probed properly
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 15 Jun 2017 03:41:34 +0000 (11:41 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:18 +0000 (15:28 -0500)
commit2f4d1c8c5a44847058f84f557201a53b2ca9b2f9
tree6754ae931aca128499e484e7532de41e8662385f
parent22b4b559ab9c1e0c393494cadb517e2886c15574
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 registeration point of the sysfs to fix
this issue.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/pci/host/pci-imx6.c