diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-06-16 12:07:27 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-16 00:45:37 -0700 |
commit | 95d359ed5a0c4b4c10b9d9986bc203c83d6c8a8c (patch) | |
tree | 0f2385a5b46639edcce463d888e06b0e5a4f4d70 /drivers/net/wwan | |
parent | 56b57b809f9ce05ba34ba5089a54eef8b06b8a92 (diff) | |
download | linux-95d359ed5a0c4b4c10b9d9986bc203c83d6c8a8c.tar.bz2 |
net: iosm: add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan')
-rw-r--r-- | drivers/net/wwan/iosm/iosm_ipc_pcie.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_pcie.c b/drivers/net/wwan/iosm/iosm_ipc_pcie.c index ac6baddfde61..7f7d364d3a51 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_pcie.c +++ b/drivers/net/wwan/iosm/iosm_ipc_pcie.c @@ -322,6 +322,7 @@ static const struct pci_device_id iosm_ipc_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_CP_DEVICE_7560_ID) }, {} }; +MODULE_DEVICE_TABLE(pci, iosm_ipc_ids); /* Enter sleep in s2idle case */ |