Skip to content

Commit

Permalink
net: iosm: add missing MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Zou Wei <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
SamuelZOU authored and davem330 committed Jun 16, 2021
1 parent 56b57b8 commit 95d359e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wwan/iosm/iosm_ipc_pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 95d359e

Please sign in to comment.