rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
Subsystems (3)
PATCH 1/1 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
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 <[email protected]>
Signed-off-by Bixuan Cui <[email protected]>
--- drivers/rtc/rtc-mxc_v2.c | 1 + 1 file changed, 1 insertion(+)
drivers/rtc/rtc-mxc_v2.c +1 -0
@@ -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 = {
Quoted 3 lines · Bixuan Cui
This patch adds missing
MODULE_DEVICE_TABLEdefinition 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,
Signature · 1 line
Alexandre Belloni <[email protected]>