[PATCH] dmaengine: fsl-edma-common: Add missing header module.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
---
 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@xxxxxxxx>
 
 #include <linux/dmapool.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 #include "fsl-edma-common.h"
-- 
2.14.4

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux