Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reset: brcmstb: 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 <hulkci@huawei.com>
Fixes: 77750bc089e4 ("reset: Add Broadcom STB SW_INIT reset controller driver")
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1620789283-15048-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Zou Wei and committed by
Philipp Zabel
e207457f 466ba3c8

+1
+1
drivers/reset/reset-brcmstb.c
··· 111 111 { .compatible = "brcm,brcmstb-reset" }, 112 112 { /* sentinel */ } 113 113 }; 114 + MODULE_DEVICE_TABLE(of, brcmstb_reset_of_match); 114 115 115 116 static struct platform_driver brcmstb_reset_driver = { 116 117 .probe = brcmstb_reset_probe,