power: reset: hisi-reboot: add missing MODULE_DEVICE_TABLE
Subsystems (2)
PATCH 1/1 power: reset: hisi-reboot: 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 Chen Lifu <[email protected]>
--- drivers/power/reset/hisi-reboot.c | 1 + 1 file changed, 1 insertion(+)
drivers/power/reset/hisi-reboot.c +1 -0
@@ -68,6 +68,7 @@ static const struct of_device_id hisi_reboot_of_match[] = { { .compatible = "hisilicon,sysctrl" }, {} }; +MODULE_DEVICE_TABLE (of, hisi_reboot_of_match);static struct platform_driver hisi_reboot_driver = { .probe = hisi_reboot_probe,
Hi,
Quoted 7 lines · Chen Lifu
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.Reported-by Hulk Robot <[email protected]>Signed-off-by Chen Lifu <[email protected]>---
Thanks, queued.
-- Sebastian
Quoted 16 lines
drivers/power/reset/hisi-reboot.c | 1 + 1 file changed, 1 insertion(+)drivers/power/reset/hisi-reboot.c +1
-0@@ -68,6 +68,7 @@ static const struct of_device_id hisi_reboot_of_match[] = { { .compatible = "hisilicon,sysctrl" }, {} }; +MODULE_DEVICE_TABLE (of, hisi_reboot_of_match);static struct platform_driver hisi_reboot_driver = { .probe = hisi_reboot_probe,