* [PATCH -next] reset: brcmstb: Add missing MODULE_DEVICE_TABLE
@ 2021-05-12 3:14 Zou Wei
2021-05-12 6:06 ` Philipp Zabel
0 siblings, 1 reply; 3+ messages in thread
From: Zou Wei @ 2021-05-12 3:14 UTC (permalink / raw)
To: p.zabel, f.fainelli, bcm-kernel-feedback-list
Cc: linux-arm-kernel, linux-kernel, Zou Wei
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: Zou Wei <zou_wei@huawei.com>
---
drivers/reset/reset-brcmstb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/reset/reset-brcmstb.c b/drivers/reset/reset-brcmstb.c
index f213264..42c9d52 100644
--- a/drivers/reset/reset-brcmstb.c
+++ b/drivers/reset/reset-brcmstb.c
@@ -111,6 +111,7 @@ static const struct of_device_id brcmstb_reset_of_match[] = {
{ .compatible = "brcm,brcmstb-reset" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, brcmstb_reset_of_match);
static struct platform_driver brcmstb_reset_driver = {
.probe = brcmstb_reset_probe,
--
2.6.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] reset: brcmstb: Add missing MODULE_DEVICE_TABLE
2021-05-12 3:14 [PATCH -next] reset: brcmstb: Add missing MODULE_DEVICE_TABLE Zou Wei
@ 2021-05-12 6:06 ` Philipp Zabel
2021-05-12 13:50 ` Florian Fainelli
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2021-05-12 6:06 UTC (permalink / raw)
To: Zou Wei, f.fainelli, bcm-kernel-feedback-list
Cc: linux-arm-kernel, linux-kernel
On Wed, 2021-05-12 at 11:14 +0800, Zou Wei 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: Zou Wei <zou_wei@huawei.com>
Thank you, applied to reset/next with
Fixes: 77750bc089e4 ("reset: Add Broadcom STB SW_INIT reset controller driver")
added.
regards
Philipp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] reset: brcmstb: Add missing MODULE_DEVICE_TABLE
2021-05-12 6:06 ` Philipp Zabel
@ 2021-05-12 13:50 ` Florian Fainelli
0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2021-05-12 13:50 UTC (permalink / raw)
To: Philipp Zabel, Zou Wei, bcm-kernel-feedback-list
Cc: linux-arm-kernel, linux-kernel
On 5/11/2021 11:06 PM, Philipp Zabel wrote:
> On Wed, 2021-05-12 at 11:14 +0800, Zou Wei 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: Zou Wei <zou_wei@huawei.com>
>
> Thank you, applied to reset/next with
>
> Fixes: 77750bc089e4 ("reset: Add Broadcom STB SW_INIT reset controller driver")
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
And thanks for adding the Fixes: tag as well.
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-12 13:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 3:14 [PATCH -next] reset: brcmstb: Add missing MODULE_DEVICE_TABLE Zou Wei
2021-05-12 6:06 ` Philipp Zabel
2021-05-12 13:50 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).