diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-05-13 16:57:29 +0800 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-06-04 14:10:45 +0930 |
commit | 19a52178125c1e8b84444d85f2ce34c0964b4a91 (patch) | |
tree | f4418c04fe75fbe487f0db4cdcec7124fe0c78d7 /drivers/fsi/fsi-master-aspeed.c | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
fsi: Add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1620896249-52769-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/fsi/fsi-master-aspeed.c')
-rw-r--r-- | drivers/fsi/fsi-master-aspeed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fsi/fsi-master-aspeed.c b/drivers/fsi/fsi-master-aspeed.c index 90dbe58ca1ed..dbad73162c83 100644 --- a/drivers/fsi/fsi-master-aspeed.c +++ b/drivers/fsi/fsi-master-aspeed.c @@ -645,6 +645,7 @@ static const struct of_device_id fsi_master_aspeed_match[] = { { .compatible = "aspeed,ast2600-fsi-master" }, { }, }; +MODULE_DEVICE_TABLE(of, fsi_master_aspeed_match); static struct platform_driver fsi_master_aspeed_driver = { .driver = { |