dmaengine: xilinx: xdma: fix module autoloading
Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20240410170317.248715-2-krzk@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
167ec660c2
commit
700b2e1ecc
@ -1295,6 +1295,7 @@ static const struct platform_device_id xdma_id_table[] = {
|
||||
{ "xdma", 0},
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, xdma_id_table);
|
||||
|
||||
static struct platform_driver xdma_driver = {
|
||||
.driver = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user