* [PATCH -next] rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
@ 2021-05-08 3:15 Bixuan Cui
2021-05-24 22:34 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Bixuan Cui @ 2021-05-08 3:15 UTC (permalink / raw)
To: cuibixuan, Alessandro Zummo, Alexandre Belloni; +Cc: linux-rtc, kernel-janitors
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: Bixuan Cui <cuibixuan@huawei.com>
---
drivers/rtc/rtc-mxc_v2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rtc/rtc-mxc_v2.c b/drivers/rtc/rtc-mxc_v2.c
index a577a74aaf75..5e0383401629 100644
--- a/drivers/rtc/rtc-mxc_v2.c
+++ b/drivers/rtc/rtc-mxc_v2.c
@@ -372,6 +372,7 @@ static const struct of_device_id mxc_ids[] = {
{ .compatible = "fsl,imx53-rtc", },
{}
};
+MODULE_DEVICE_TABLE(of, mxc_ids);
static struct platform_driver mxc_rtc_driver = {
.driver = {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
2021-05-08 3:15 [PATCH -next] rtc: mxc_v2: add missing MODULE_DEVICE_TABLE Bixuan Cui
@ 2021-05-24 22:34 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2021-05-24 22:34 UTC (permalink / raw)
To: Bixuan Cui, Alessandro Zummo
Cc: Alexandre Belloni, kernel-janitors, linux-rtc
On Sat, 8 May 2021 11:15:09 +0800, Bixuan Cui 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.
Applied, thanks!
[1/1] rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
commit: 206e04ec7539e7bfdde9aa79a7cde656c9eb308e
Best regards,
--
Alexandre Belloni <alexandre.belloni@bootlin.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-24 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 3:15 [PATCH -next] rtc: mxc_v2: add missing MODULE_DEVICE_TABLE Bixuan Cui
2021-05-24 22:34 ` Alexandre Belloni
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).