summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2024-04-10 19:02:41 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-04-11 08:21:49 +0200
commit7a40c60c8acb71eb2b5196b0e675ba9e58af1b69 (patch)
tree89e88a42418323d1074edf657ee1bb6a2258c6ff /drivers/memory
parente23359d88a81679e7c55d221e7cb4c39abf5d760 (diff)
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
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/brcmstb_memc.c1
1 files changed, 1 insertions, 0 deletions
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)
{