projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1860e5
)
MLK-19959 PCI: imx: make sure the sysfile api is add properly
author
Richard Zhu
<hongxing.zhu@nxp.com>
Tue, 29 Jan 2019 09:52:15 +0000
(15:22 +0530)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
Make sure that the sysfile api of the pcie ep is add properly.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
(Vipul: apply manually whilre rebase on v4.19)
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/pci/controller/dwc/pci-imx6.c
patch
|
blob
|
history
diff --git
a/drivers/pci/controller/dwc/pci-imx6.c
b/drivers/pci/controller/dwc/pci-imx6.c
index
79fe67f
..
48f1e43
100644
(file)
--- a/
drivers/pci/controller/dwc/pci-imx6.c
+++ b/
drivers/pci/controller/dwc/pci-imx6.c
@@
-2304,6
+2304,7
@@
static int imx_pcie_probe(struct platform_device *pdev)
if (IS_ENABLED(CONFIG_EP_MODE_IN_EP_RC_SYS)) {
/* add attributes for device */
+ imx_pcie_attrgroup.attrs = imx_pcie_ep_attrs;
ret = sysfs_create_group(&pdev->dev.kobj, &imx_pcie_attrgroup);
if (ret)
return -EINVAL;