File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
drivers/pci/controller/cadence Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 17
17
/**
18
18
* struct cdns_plat_pcie - private data for this PCIe platform driver
19
19
* @pcie: Cadence PCIe controller
20
- * @is_rc: Set to 1 indicates the PCIe controller mode is Root Complex,
21
- * if 0 it is in Endpoint mode.
22
20
*/
23
21
struct cdns_plat_pcie {
24
22
struct cdns_pcie * pcie ;
25
- bool is_rc ;
26
23
};
27
24
28
25
struct cdns_plat_pcie_of_data {
@@ -76,7 +73,6 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev)
76
73
rc -> pcie .dev = dev ;
77
74
rc -> pcie .ops = & cdns_plat_ops ;
78
75
cdns_plat_pcie -> pcie = & rc -> pcie ;
79
- cdns_plat_pcie -> is_rc = is_rc ;
80
76
81
77
ret = cdns_pcie_init_phy (dev , cdns_plat_pcie -> pcie );
82
78
if (ret ) {
@@ -104,7 +100,6 @@ static int cdns_plat_pcie_probe(struct platform_device *pdev)
104
100
ep -> pcie .dev = dev ;
105
101
ep -> pcie .ops = & cdns_plat_ops ;
106
102
cdns_plat_pcie -> pcie = & ep -> pcie ;
107
- cdns_plat_pcie -> is_rc = is_rc ;
108
103
109
104
ret = cdns_pcie_init_phy (dev , cdns_plat_pcie -> pcie );
110
105
if (ret ) {
You can’t perform that action at this time.
0 commit comments