summary refs log tree commit diff
path: root/drivers/dma/dw
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2022-06-09 16:14:54 +0200
committerVinod Koul <vkoul@kernel.org>2022-06-10 17:51:21 +0530
commit2717d33841957a0f5fb65fd8b37f9c2321593864 (patch)
treecc67764cd5ae2b69d06b6ae9488cb1b472eb6297 /drivers/dma/dw
parent11a72ae911d3d4eccfba8dbf21daca4ce5f1b6af (diff)
downloadlinux-2717d33841957a0f5fb65fd8b37f9c2321593864.tar.gz
dmaengine: dw: dmamux: Export the module device table
This is a tristate driver that can be built as a module, as a result,
the OF match table should be exported with MODULE_DEVICE_TABLE().

Fixes: 134d9c52fca2 ("dmaengine: dw: dmamux: Introduce RZN1 DMA router support")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220609141455.300879-1-miquel.raynal@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dw')
-rw-r--r--drivers/dma/dw/rzn1-dmamux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dw/rzn1-dmamux.c b/drivers/dma/dw/rzn1-dmamux.c
index 11d254e450b0..0ce4fb58185e 100644
--- a/drivers/dma/dw/rzn1-dmamux.c
+++ b/drivers/dma/dw/rzn1-dmamux.c
@@ -140,6 +140,7 @@ static const struct of_device_id rzn1_dmamux_match[] = {
 	{ .compatible = "renesas,rzn1-dmamux" },
 	{}
 };
+MODULE_DEVICE_TABLE(of, rzn1_dmamux_match);
 
 static struct platform_driver rzn1_dmamux_driver = {
 	.driver = {