PCI: aspm_ext: Fix Add missing MODULE_LICENSE()

ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/pcie/aspm_ext.o

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id365aba7a73f02cc2c61882b46937250e64af01c
This commit is contained in:
Tao Huang
2022-07-15 20:56:15 +08:00
parent 0d74a37b0e
commit cf03561e5e

View File

@@ -6,6 +6,7 @@
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/aspm_ext.h>
#include <linux/errno.h>
@@ -95,7 +96,7 @@ static bool rockchip_pcie_bus_aspm_enable_dev(char *device, struct pci_dev *dev,
return true;
}
bool rockchip_pcie_bus_aspm_enable_rc_ep(struct pci_dev *child, struct pci_dev *parent, bool enable)
static bool rockchip_pcie_bus_aspm_enable_rc_ep(struct pci_dev *child, struct pci_dev *parent, bool enable)
{
bool ret;
@@ -341,3 +342,5 @@ void pcie_aspm_ext_l1ss_enable(struct pci_dev *child, struct pci_dev *parent, bo
rockchip_pcie_bus_aspm_enable_rc_ep(child, parent, true);
}
EXPORT_SYMBOL(pcie_aspm_ext_l1ss_enable);
MODULE_LICENSE("GPL");