[PATCH] dma/imx-sdma+imx-dma: explicitly #include <linux/module.h>
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Sep 26 02:26:19 EDT 2011
This is needed after commit
include: replace linux/module.h with "struct module" wherever possible
(currently 25215aa in next).
Cc: Paul Gortmaker <paul.gortmaker at windriver.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
Hello,
maybe it's sensible for Paul to take that before his commit?
Best regards
Uwe
drivers/dma/imx-dma.c | 1 +
drivers/dma/imx-sdma.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index d99f71c..3732de8 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
@@ -23,6 +23,7 @@
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/dmaengine.h>
+#include <linux/module.h>
#include <asm/irq.h>
#include <mach/dma-v1.h>
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index b5cc27d..86fb6e5 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -34,6 +34,7 @@
#include <linux/dmaengine.h>
#include <linux/of.h>
#include <linux/of_device.h>
+#include <linux/module.h>
#include <asm/irq.h>
#include <mach/sdma.h>
--
1.7.6.3
More information about the linux-arm-kernel
mailing list