* [PATCH net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE
@ 2021-03-25 9:19 Qinglang Miao
2021-03-25 19:11 ` Florian Fainelli
2021-03-26 0:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Qinglang Miao @ 2021-03-25 9:19 UTC (permalink / raw)
To: miaoqinglang, Florian Fainelli, Andrew Lunn, Vivien Didelot,
Vladimir Oltean, David S. Miller, Jakub Kicinski
Cc: netdev, kernel-janitors, Hulk Robot
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 <hulkci@huawei.com>
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
---
drivers/net/dsa/b53/b53_spi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dsa/b53/b53_spi.c b/drivers/net/dsa/b53/b53_spi.c
index 413158275db8..ecb9f7f6b335 100644
--- a/drivers/net/dsa/b53/b53_spi.c
+++ b/drivers/net/dsa/b53/b53_spi.c
@@ -335,6 +335,7 @@ static const struct of_device_id b53_spi_of_match[] = {
{ .compatible = "brcm,bcm53128" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, b53_spi_of_match);
static struct spi_driver b53_spi_driver = {
.driver = {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE
2021-03-25 9:19 [PATCH net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE Qinglang Miao
@ 2021-03-25 19:11 ` Florian Fainelli
2021-03-26 0:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2021-03-25 19:11 UTC (permalink / raw)
To: Qinglang Miao, Andrew Lunn, Vivien Didelot, Vladimir Oltean,
David S. Miller, Jakub Kicinski
Cc: netdev, kernel-janitors, Hulk Robot
On 3/25/2021 2:19 AM, Qinglang Miao 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 <hulkci@huawei.com>
> Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE
2021-03-25 9:19 [PATCH net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE Qinglang Miao
2021-03-25 19:11 ` Florian Fainelli
@ 2021-03-26 0:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-03-26 0:20 UTC (permalink / raw)
To: Qinglang Miao
Cc: f.fainelli, andrew, vivien.didelot, olteanv, davem, kuba, netdev,
kernel-janitors, hulkci
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 25 Mar 2021 17:19:54 +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 <hulkci@huawei.com>
> Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
>
> [...]
Here is the summary with links:
- [net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE
https://git.kernel.org/netdev/net-next/c/866f1577ba69
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] 3+ messages in thread
end of thread, other threads:[~2021-03-26 0:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 9:19 [PATCH net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE Qinglang Miao
2021-03-25 19:11 ` Florian Fainelli
2021-03-26 0: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.