aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ralink-gdma
diff options
context:
space:
mode:
authorBixuan Cui <cuibixuan@huawei.com>2021-04-10 11:50:37 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-10 10:29:25 +0200
commit3eea531bcc24aee8f93b206adfde605fdd6f3d44 (patch)
treeb465e1bc9b5431661c7fc0b7896fbee34e739dc4 /drivers/staging/ralink-gdma
parentstaging: rtl8192e: remove unnecesasry f-trace like logging (diff)
downloadlinux-dev-3eea531bcc24aee8f93b206adfde605fdd6f3d44.tar.xz
linux-dev-3eea531bcc24aee8f93b206adfde605fdd6f3d44.zip
staging: ralink-gdma: 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: Bixuan Cui <cuibixuan@huawei.com> Link: https://lore.kernel.org/r/20210410035037.11322-1-cuibixuan@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ralink-gdma')
-rw-r--r--drivers/staging/ralink-gdma/ralink-gdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c
index 3c26b665ee7c..33e28ccf4d85 100644
--- a/drivers/staging/ralink-gdma/ralink-gdma.c
+++ b/drivers/staging/ralink-gdma/ralink-gdma.c
@@ -788,6 +788,7 @@ static const struct of_device_id gdma_of_match_table[] = {
{ .compatible = "ralink,rt3883-gdma", .data = &rt3883_gdma_data },
{ },
};
+MODULE_DEVICE_TABLE(of, gdma_of_match_table);
static int gdma_dma_probe(struct platform_device *pdev)
{