projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
167ec66
)
dmaengine: xilinx: xdma: fix module autoloading
author
Krzysztof Kozlowski
<krzk@kernel.org>
Wed, 10 Apr 2024 17:03:17 +0000
(19:03 +0200)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 25 Apr 2024 09:14:10 +0000
(14:44 +0530)
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>
drivers/dma/xilinx/xdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/xilinx/xdma.c
b/drivers/dma/xilinx/xdma.c
index 170017ff2aad6e58c8d0ee4ea6e7d42c15c8202c..36e3f84a31fc2cb12d224764bd22b4ee53b93a40 100644
(file)
--- a/
drivers/dma/xilinx/xdma.c
+++ b/
drivers/dma/xilinx/xdma.c
@@
-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 = {