Commit e4b1cd02 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Bjorn Helgaas

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: 2bdd5238 ("PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver")
Link: https://lore.kernel.org/r/20211207104924.21327-5-sergio.paracuellos@gmail.comSigned-off-by: default avatarYanteng Si <siyanteng@loongson.cn>
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarKrzysztof Wilczyński <kw@linux.com>
parent fe7498ef
...@@ -561,3 +561,5 @@ static struct platform_driver mt7621_pci_driver = { ...@@ -561,3 +561,5 @@ static struct platform_driver mt7621_pci_driver = {
}, },
}; };
builtin_platform_driver(mt7621_pci_driver); builtin_platform_driver(mt7621_pci_driver);
MODULE_LICENSE("GPL v2");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment