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 <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e23359d commit 7a40c60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)