Skip to content

Commit 3146c8f

Browse files
committed
Merge branch 'pci/remove' into next
* pci/remove: PCI: Don't allow unbinding host controllers that aren't prepared
2 parents ef1b5da + a5f40e8 commit 3146c8f

13 files changed

+14
-0
lines changed

drivers/pci/dwc/pci-imx6.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ static struct platform_driver imx6_pcie_driver = {
804804
.driver = {
805805
.name = "imx6q-pcie",
806806
.of_match_table = imx6_pcie_of_match,
807+
.suppress_bind_attrs = true,
807808
},
808809
.probe = imx6_pcie_probe,
809810
.shutdown = imx6_pcie_shutdown,

drivers/pci/dwc/pci-layerscape.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ static struct platform_driver ls_pcie_driver = {
305305
.driver = {
306306
.name = "layerscape-pcie",
307307
.of_match_table = ls_pcie_of_match,
308+
.suppress_bind_attrs = true,
308309
},
309310
};
310311
builtin_platform_driver_probe(ls_pcie_driver, ls_pcie_probe);

drivers/pci/dwc/pcie-armada8k.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ static struct platform_driver armada8k_pcie_driver = {
262262
.driver = {
263263
.name = "armada8k-pcie",
264264
.of_match_table = of_match_ptr(armada8k_pcie_of_match),
265+
.suppress_bind_attrs = true,
265266
},
266267
};
267268
builtin_platform_driver(armada8k_pcie_driver);

drivers/pci/dwc/pcie-artpec6.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ static struct platform_driver artpec6_pcie_driver = {
295295
.driver = {
296296
.name = "artpec6-pcie",
297297
.of_match_table = artpec6_pcie_of_match,
298+
.suppress_bind_attrs = true,
298299
},
299300
};
300301
builtin_platform_driver(artpec6_pcie_driver);

drivers/pci/dwc/pcie-designware-plat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ static struct platform_driver dw_plat_pcie_driver = {
133133
.driver = {
134134
.name = "dw-pcie",
135135
.of_match_table = dw_plat_pcie_of_match,
136+
.suppress_bind_attrs = true,
136137
},
137138
.probe = dw_plat_pcie_probe,
138139
};

drivers/pci/dwc/pcie-hisi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ static struct platform_driver hisi_pcie_driver = {
333333
.driver = {
334334
.name = "hisi-pcie",
335335
.of_match_table = hisi_pcie_of_match,
336+
.suppress_bind_attrs = true,
336337
},
337338
};
338339
builtin_platform_driver(hisi_pcie_driver);
@@ -390,6 +391,7 @@ static struct platform_driver hisi_pcie_almost_ecam_driver = {
390391
.driver = {
391392
.name = "hisi-pcie-almost-ecam",
392393
.of_match_table = hisi_pcie_almost_ecam_of_match,
394+
.suppress_bind_attrs = true,
393395
},
394396
};
395397
builtin_platform_driver(hisi_pcie_almost_ecam_driver);

drivers/pci/dwc/pcie-spear13xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ static struct platform_driver spear13xx_pcie_driver = {
308308
.driver = {
309309
.name = "spear-pcie",
310310
.of_match_table = of_match_ptr(spear13xx_pcie_of_match),
311+
.suppress_bind_attrs = true,
311312
},
312313
};
313314

drivers/pci/host/pci-ftpci100.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ static struct platform_driver faraday_pci_driver = {
556556
.driver = {
557557
.name = "ftpci100",
558558
.of_match_table = of_match_ptr(faraday_pci_of_match),
559+
.suppress_bind_attrs = true,
559560
},
560561
.probe = faraday_pci_probe,
561562
};

drivers/pci/host/pci-host-generic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ static struct platform_driver gen_pci_driver = {
6060
.driver = {
6161
.name = "pci-host-generic",
6262
.of_match_table = gen_pci_of_match,
63+
.suppress_bind_attrs = true,
6364
},
6465
.probe = gen_pci_probe,
6566
};

drivers/pci/host/pci-thunder-ecam.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ static struct platform_driver thunder_ecam_driver = {
373373
.driver = {
374374
.name = KBUILD_MODNAME,
375375
.of_match_table = thunder_ecam_of_match,
376+
.suppress_bind_attrs = true,
376377
},
377378
.probe = thunder_ecam_probe,
378379
};

drivers/pci/host/pci-thunder-pem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ static struct platform_driver thunder_pem_driver = {
474474
.driver = {
475475
.name = KBUILD_MODNAME,
476476
.of_match_table = thunder_pem_of_match,
477+
.suppress_bind_attrs = true,
477478
},
478479
.probe = thunder_pem_probe,
479480
};

drivers/pci/host/pci-versatile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ static struct platform_driver versatile_pci_driver = {
222222
.driver = {
223223
.name = "versatile-pci",
224224
.of_match_table = versatile_pci_of_match,
225+
.suppress_bind_attrs = true,
225226
},
226227
.probe = versatile_pci_probe,
227228
};

drivers/pci/host/pci-xgene.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ static struct platform_driver xgene_pcie_driver = {
697697
.driver = {
698698
.name = "xgene-pcie",
699699
.of_match_table = of_match_ptr(xgene_pcie_match_table),
700+
.suppress_bind_attrs = true,
700701
},
701702
.probe = xgene_pcie_probe_bridge,
702703
};

0 commit comments

Comments
 (0)