Skip to content

Commit 7a40c60

Browse files
committed
memory: brcmstb_memc: fix module autoloading
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> Link: https://lore.kernel.org/r/20240410170241.248626-1-krzk@kernel.org
1 parent e23359d commit 7a40c60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/memory/brcmstb_memc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
243243
},
244244
{}
245245
};
246+
MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match);
246247

247248
static int brcmstb_memc_suspend(struct device *dev)
248249
{

0 commit comments

Comments
 (0)