Message ID | 20210325091954.1920344-1-miaoqinglang@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 866f1577ba69bde2b9f36c300f603596c7d84a62 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: dsa: b53: spi: add missing MODULE_DEVICE_TABLE | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 7 of 7 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 7 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
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>
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
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 = {
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(+)