summaryrefslogtreecommitdiff
path: root/drivers/fsi/fsi-master-ast-cf.c
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2021-05-13 16:57:29 +0800
committerJoel Stanley <joel@jms.id.au>2021-06-04 14:10:45 +0930
commit19a52178125c1e8b84444d85f2ce34c0964b4a91 (patch)
treef4418c04fe75fbe487f0db4cdcec7124fe0c78d7 /drivers/fsi/fsi-master-ast-cf.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (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-ast-cf.c')
-rw-r--r--drivers/fsi/fsi-master-ast-cf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c
index 57a779a89b07..70c03e304d6c 100644
--- a/drivers/fsi/fsi-master-ast-cf.c
+++ b/drivers/fsi/fsi-master-ast-cf.c
@@ -1427,6 +1427,7 @@ static const struct of_device_id fsi_master_acf_match[] = {
{ .compatible = "aspeed,ast2500-cf-fsi-master" },
{ },
};
+MODULE_DEVICE_TABLE(of, fsi_master_acf_match);
static struct platform_driver fsi_master_acf = {
.driver = {