mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-08 13:44:01 +08:00
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>
This commit is contained in:
parent
08aa09135c
commit
3eea531bcc
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user