Commit 700b2e1e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Vinod Koul
Browse files

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240410170317.248715-2-krzk@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 167ec660
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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		= {