dmaengine: ti: k3-udma: fix module autoloading
PATCH 1/2 dmaengine: ti: k3-udma: 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 <[email protected]>
--- drivers/dma/ti/k3-udma.c | 1 + 1 file changed, 1 insertion(+)
drivers/dma/ti/k3-udma.c +1 -0
@@ -4405,6 +4405,7 @@ static const struct of_device_id udma_of_match[] = { }, { /* Sentinel */ }, }; +MODULE_DEVICE_TABLE (of, udma_of_match);static struct udma_soc_data am654_soc_data = { .oes = {
Signature · 1 line
2.34.1
PATCH 2/2 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 <[email protected]>
--- drivers/dma/xilinx/xdma.c | 1 + 1 file changed, 1 insertion(+)
drivers/dma/xilinx/xdma.c +1 -0
@@ -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 = {
Signature · 1 line
2.34.1
Re: (subset) [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading
In reply to Krzysztof KozlowskiQuoted 4 lines · Krzysztof Kozlowski
Add
MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias fromof_device_idtable.
Applied, thanks!
[2/2] dmaengine: xilinx: xdma: fix module autoloading
commit: 700b2e1eccb4490752227d4339c3d2c3d52d06a7
Best regards,
Signature · 1 line
~Vinod