Message ID | 20240410170241.248626-1-krzk@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | memory: brcmstb_memc: fix module autoloading | expand |
On 4/10/2024 10:02 AM, Krzysztof Kozlowski wrote: > Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded > based on the alias from of_device_id table. > > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Thanks!
On Wed, 10 Apr 2024 19:02:41 +0200, Krzysztof Kozlowski wrote: > Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded > based on the alias from of_device_id table. > > Applied, thanks! [1/1] memory: brcmstb_memc: fix module autoloading https://git.kernel.org/krzk/linux-mem-ctrl/c/7a40c60c8acb71eb2b5196b0e675ba9e58af1b69 Best regards,
diff --git a/drivers/memory/brcmstb_memc.c b/drivers/memory/brcmstb_memc.c index ea9213f7152e..4f17a93aa028 100644 --- a/drivers/memory/brcmstb_memc.c +++ b/drivers/memory/brcmstb_memc.c @@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match); static int brcmstb_memc_suspend(struct device *dev) {
Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> --- drivers/memory/brcmstb_memc.c | 1 + 1 file changed, 1 insertion(+)