diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2024-04-10 20:02:41 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-04-11 09:21:49 +0300 |
commit | 7a40c60c8acb71eb2b5196b0e675ba9e58af1b69 (patch) | |
tree | 89e88a42418323d1074edf657ee1bb6a2258c6ff | |
parent | e23359d88a81679e7c55d221e7cb4c39abf5d760 (diff) | |
download | linux-7a40c60c8acb71eb2b5196b0e675ba9e58af1b69.tar.xz |
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
-rw-r--r-- | drivers/memory/brcmstb_memc.c | 1 |
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) { |