dmaengine: dw: dmamux: Export the module device table
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 9 Jun 2022 14:14:54 +0000 (16:14 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 10 Jun 2022 12:21:21 +0000 (17:51 +0530)
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>
drivers/dma/dw/rzn1-dmamux.c

index 11d254e..0ce4fb5 100644 (file)
@@ -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 = {