Skip to content

Commit e4b1cd0

Browse files
parakabjorn-helgaas
authored andcommitted
PCI: mt7621: Add missing MODULE_LICENSE()
The MT7621 PCIe host controller driver can be built as a module, but it lacks a MODULE_LICENSE(), which causes a build error: ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/controller/pcie-mt7621.o Add MODULE_LICENSE() to the driver. Fixes: 2bdd523 ("PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yanteng Si <[email protected]> Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Krzysztof Wilczyński <[email protected]>
1 parent fe7498e commit e4b1cd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pci/controller/pcie-mt7621.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,3 +561,5 @@ static struct platform_driver mt7621_pci_driver = {
561561
},
562562
};
563563
builtin_platform_driver(mt7621_pci_driver);
564+
565+
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)