Skip to contentSkip to conversation

ehea: add missing MODULE_DEVICE_TABLE

PATCH Applied Qiheng Lin 2 participants 2 messages Apr 9, 2021 – Apr 12, 2021

Subsystems (3)
lore
Share & tools
lore

Qiheng Lin

author
#0 lore raw

PATCH 1/1 ehea: 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.

---
 drivers/net/ethernet/ibm/ehea/ehea_main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/ibm/ehea/ehea_main.c +1 -0
index c2e740475786..ea55314b209d 100644
@@ -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 = {
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

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

Quoted 8 lines · 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.

[...]

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