DMA Engine development
 help / color / mirror / Atom feed
* dmaengine: fsl-edma-common: Add missing header module.h
@ 2018-07-05  5:57 Vinod Koul
  0 siblings, 0 replies; only message in thread
From: Vinod Koul @ 2018-07-05  5:57 UTC (permalink / raw)
  To: dmaengine; +Cc: angelo, Vinod Koul

We added MODULE_LICENSE but missed adding the header, so add it

drivers/dma/fsl-edma-common.c:672:16: error:
	expected declaration specifiers or '...' before string constant
 MODULE_LICENSE("GPL v2");
                ^~~~~~~~

Fixes: 7565699b2d21 ("dmaengine: fsl-edma-common: Add missing MODULE_LICENSE")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/dma/fsl-edma-common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index fd4333995a0e..17e386911825 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dma/fsl-edma-common.c
@@ -4,6 +4,7 @@
 // Copyright (c) 2017 Sysam, Angelo Dureghello  <angelo@sysam.it>
 
 #include <linux/dmapool.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 #include "fsl-edma-common.h"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-05  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-05  5:57 dmaengine: fsl-edma-common: Add missing header module.h Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox