Skip to contentSkip to conversation

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

PATCH Vinod Koul 1 participant 1 message Jul 5, 2018

Subsystems (2)
lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

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")
---
 drivers/dma/fsl-edma-common.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/fsl-edma-common.c +1 -0
index fd4333995a0e..17e386911825 100644
@@ -4,6 +4,7 @@
 // Copyright (c) 2017 Sysam, Angelo Dureghello  <[email protected]>
 
 #include <linux/dmapool.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 #include "fsl-edma-common.h"