* [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
@ 2022-02-09 0:03 Joel Stanley
2022-02-09 0:55 ` Andrew Lunn
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Joel Stanley @ 2022-02-09 0:03 UTC (permalink / raw)
To: Andrew Lunn, David S . Miller, Jakub Kicinski, Andrew Jeffery
Cc: netdev, linux-aspeed
Fix loading of the driver when built as a module.
Fixes: f160e99462c6 ("net: phy: Add mdio-aspeed")
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
drivers/net/mdio/mdio-aspeed.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mdio/mdio-aspeed.c b/drivers/net/mdio/mdio-aspeed.c
index 966c3b4ad59d..e2273588c75b 100644
--- a/drivers/net/mdio/mdio-aspeed.c
+++ b/drivers/net/mdio/mdio-aspeed.c
@@ -148,6 +148,7 @@ static const struct of_device_id aspeed_mdio_of_match[] = {
{ .compatible = "aspeed,ast2600-mdio", },
{ },
};
+MODULE_DEVICE_TABLE(of, aspeed_mdio_of_match);
static struct platform_driver aspeed_mdio_driver = {
.driver = {
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
2022-02-09 0:03 [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE Joel Stanley
@ 2022-02-09 0:55 ` Andrew Lunn
2022-02-09 5:15 ` Andrew Jeffery
2022-02-09 12:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2022-02-09 0:55 UTC (permalink / raw)
To: Joel Stanley
Cc: David S . Miller, Jakub Kicinski, Andrew Jeffery, netdev, linux-aspeed
On Wed, Feb 09, 2022 at 10:33:59AM +1030, Joel Stanley wrote:
> Fix loading of the driver when built as a module.
>
> Fixes: f160e99462c6 ("net: phy: Add mdio-aspeed")
> Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
2022-02-09 0:03 [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE Joel Stanley
2022-02-09 0:55 ` Andrew Lunn
@ 2022-02-09 5:15 ` Andrew Jeffery
2022-02-09 12:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Jeffery @ 2022-02-09 5:15 UTC (permalink / raw)
To: Joel Stanley, Andrew Lunn, David Miller, Jakub Kicinski
Cc: netdev, linux-aspeed
On Wed, 9 Feb 2022, at 10:33, Joel Stanley wrote:
> Fix loading of the driver when built as a module.
>
> Fixes: f160e99462c6 ("net: phy: Add mdio-aspeed")
> Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
2022-02-09 0:03 [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE Joel Stanley
2022-02-09 0:55 ` Andrew Lunn
2022-02-09 5:15 ` Andrew Jeffery
@ 2022-02-09 12:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-02-09 12:20 UTC (permalink / raw)
To: Joel Stanley; +Cc: andrew, davem, kuba, andrew, netdev, linux-aspeed
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Wed, 9 Feb 2022 10:33:59 +1030 you wrote:
> Fix loading of the driver when built as a module.
>
> Fixes: f160e99462c6 ("net: phy: Add mdio-aspeed")
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
> drivers/net/mdio/mdio-aspeed.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
https://git.kernel.org/netdev/net/c/bc1c3c3b10db
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-09 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 0:03 [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE Joel Stanley
2022-02-09 0:55 ` Andrew Lunn
2022-02-09 5:15 ` Andrew Jeffery
2022-02-09 12:20 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.