[PATCH net-next] net: iosm: add missing MODULE_DEVICE_TABLE

Subsystems: intel wwan iosm driver, networking drivers, the rest, wwan drivers

STALE1921d

2 messages, 2 authors, 2021-06-16 · open the first message on its own page

[PATCH net-next] net: iosm: add missing MODULE_DEVICE_TABLE

From: Zou Wei <hidden>
Date: 2021-06-16 03:49:01

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 <redacted>
Signed-off-by: Zou Wei <redacted>
---
 drivers/net/wwan/iosm/iosm_ipc_pcie.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/wwan/iosm/iosm_ipc_pcie.c b/drivers/net/wwan/iosm/iosm_ipc_pcie.c
index ac6badd..7f7d364 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
  */
-- 
2.6.2

Re: [PATCH net-next] net: iosm: add missing MODULE_DEVICE_TABLE

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-16 07:50:11

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 16 Jun 2021 12:07:27 +0800 you wrote:
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 <redacted>
Signed-off-by: Zou Wei <redacted>

[...]
Here is the summary with links:
  - [net-next] net: iosm: add missing MODULE_DEVICE_TABLE
    https://git.kernel.org/netdev/net-next/c/95d359ed5a0c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help