Skip to content

Commit 4565927

Browse files
committed
Merge branch 'pci/misc'
- Remove unused struct 'acpi_handle_node' (Dr. David Alan Gilbert) - Use array notation for portdrv .id_table consistently (Masahiro Yamada) - Switch to new Intel CPU model defines (Tony Luck) - Add missing MODULE_DESCRIPTION() macros (Jeff Johnson) * pci/misc: PCI: controller: Add missing MODULE_DESCRIPTION() macros PCI: Add missing MODULE_DESCRIPTION() macros PCI/PM: Switch to new Intel CPU model defines PCI: Use array for .id_table consistently ACPI: PCI: Remove unused struct 'acpi_handle_node'
2 parents 19a3eec + 142a41d commit 4565927

File tree

19 files changed

+19
-12
lines changed

19 files changed

+19
-12
lines changed

Documentation/PCI/pciebus-howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ driver data structure.
139139

140140
static struct pcie_port_service_driver root_aerdrv = {
141141
.name = (char *)device_name,
142-
.id_table = &service_id[0],
142+
.id_table = service_id,
143143

144144
.probe = aerdrv_load,
145145
.remove = aerdrv_unload,

Documentation/translations/zh_CN/PCI/pciebus-howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pcie_port_service_unregister取代了Linux驱动模型的pci_unregister_driver
124124

125125
static struct pcie_port_service_driver root_aerdrv = {
126126
.name = (char *)device_name,
127-
.id_table = &service_id[0],
127+
.id_table = service_id,
128128

129129
.probe = aerdrv_load,
130130
.remove = aerdrv_unload,

drivers/acpi/pci_root.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,6 @@ struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle)
293293
}
294294
EXPORT_SYMBOL_GPL(acpi_pci_find_root);
295295

296-
struct acpi_handle_node {
297-
struct list_head node;
298-
acpi_handle handle;
299-
};
300-
301296
/**
302297
* acpi_get_pci_dev - convert ACPI CA handle to struct pci_dev
303298
* @handle: the handle in question

drivers/pci/controller/dwc/pci-exynos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,5 +391,6 @@ static struct platform_driver exynos_pcie_driver = {
391391
},
392392
};
393393
module_platform_driver(exynos_pcie_driver);
394+
MODULE_DESCRIPTION("Samsung Exynos PCIe host controller driver");
394395
MODULE_LICENSE("GPL v2");
395396
MODULE_DEVICE_TABLE(of, exynos_pcie_of_match);

drivers/pci/controller/pci-host-common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ void pci_host_common_remove(struct platform_device *pdev)
9292
}
9393
EXPORT_SYMBOL_GPL(pci_host_common_remove);
9494

95+
MODULE_DESCRIPTION("Generic PCI host common driver");
9596
MODULE_LICENSE("GPL v2");

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,5 @@ static struct platform_driver gen_pci_driver = {
8686
};
8787
module_platform_driver(gen_pci_driver);
8888

89+
MODULE_DESCRIPTION("Generic PCI host controller driver");
8990
MODULE_LICENSE("GPL v2");

drivers/pci/controller/pcie-altera-msi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,5 @@ static void __exit altera_msi_exit(void)
290290
subsys_initcall(altera_msi_init);
291291
MODULE_DEVICE_TABLE(of, altera_msi_of_match);
292292
module_exit(altera_msi_exit);
293+
MODULE_DESCRIPTION("Altera PCIe MSI support driver");
293294
MODULE_LICENSE("GPL v2");

drivers/pci/controller/pcie-altera.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,4 +826,5 @@ static struct platform_driver altera_pcie_driver = {
826826

827827
MODULE_DEVICE_TABLE(of, altera_pcie_of_match);
828828
module_platform_driver(altera_pcie_driver);
829+
MODULE_DESCRIPTION("Altera PCIe host controller driver");
829830
MODULE_LICENSE("GPL v2");

drivers/pci/controller/pcie-apple.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,4 +839,5 @@ static struct platform_driver apple_pcie_driver = {
839839
};
840840
module_platform_driver(apple_pcie_driver);
841841

842+
MODULE_DESCRIPTION("Apple PCIe host bridge driver");
842843
MODULE_LICENSE("GPL v2");

drivers/pci/controller/pcie-mediatek-gen3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,4 +1091,5 @@ static struct platform_driver mtk_pcie_driver = {
10911091
};
10921092

10931093
module_platform_driver(mtk_pcie_driver);
1094+
MODULE_DESCRIPTION("MediaTek Gen3 PCIe host controller driver");
10941095
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)