[PATCH net-next] ehea: add missing MODULE_DEVICE_TABLE

Subsystems: networking drivers, the rest

STALE1994d

2 messages, 2 authors, 2021-04-12 · open the first message on its own page

[PATCH net-next] ehea: add missing MODULE_DEVICE_TABLE

From: Qiheng Lin <hidden>
Date: 2021-04-09 11:09:24

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: Qiheng Lin <redacted>
---
 drivers/net/ethernet/ibm/ehea/ehea_main.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c
index c2e740475786..ea55314b209d 100644
--- a/drivers/net/ethernet/ibm/ehea/ehea_main.c
+++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c
@@ -109,6 +109,7 @@ static const struct of_device_id ehea_device_table[] = {
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, ehea_device_table);
 
 static struct platform_driver ehea_driver = {
 	.driver = {

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-04-12 00:10:20

Hello:

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

On Fri, 9 Apr 2021 19:09:11 +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: Qiheng Lin <redacted>

[...]
Here is the summary with links:
  - [net-next] ehea: add missing MODULE_DEVICE_TABLE
    https://git.kernel.org/netdev/net-next/c/95291ced8169

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