mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
PCI: cadence: Add missing MODULE_DEVICE_TABLE()
The driver has an OF match table wired to .of_match_table, but does not export the table with MODULE_DEVICE_TABLE(). Add the missing MODULE_DEVICE_TABLE(of, ...) entry so module alias information is generated for OF based module autoloading. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Aksh Garg <a-garg7@ti.com> Link: https://patch.msgid.link/20260704122835.14277-1-pengpeng@iscas.ac.cn
This commit is contained in:
parent
dc59e4fea9
commit
93aac16f1e
|
|
@ -163,6 +163,7 @@ static const struct of_device_id cdns_plat_pcie_of_match[] = {
|
|||
},
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, cdns_plat_pcie_of_match);
|
||||
|
||||
static struct platform_driver cdns_plat_pcie_driver = {
|
||||
.driver = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user