mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-08 02:15:20 +02:00
mmc: sdhci-of-aspeed: fix module autoloading
commit6e540da4c1
upstream. Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen <liaochen4@huawei.com> Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> Fixes:bb7b8ec62d
("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller") Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240826124851.379759-1-liaochen4@huawei.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5b4bf39488
commit
4c6520627b
|
@ -510,6 +510,7 @@ static const struct of_device_id aspeed_sdhci_of_match[] = {
|
||||||
{ .compatible = "aspeed,ast2600-sdhci", .data = &ast2600_sdhci_pdata, },
|
{ .compatible = "aspeed,ast2600-sdhci", .data = &ast2600_sdhci_pdata, },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, aspeed_sdhci_of_match);
|
||||||
|
|
||||||
static struct platform_driver aspeed_sdhci_driver = {
|
static struct platform_driver aspeed_sdhci_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user