Re: [PATCH] dmaengine i.MX DMA/SDMA: add missing include oflinux/module.h

From: Vinod Koul
Date: Mon Sep 05 2011 - 09:24:11 EST


On Tue, 2011-08-30 at 15:08 +0800, Axel Lin wrote:
> Add missing include of linux/module.h to fix build error.
I don't see this build error in my tree (based on rc4), In which config
is this seen?

>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> 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..d746899 100644
> --- a/drivers/dma/imx-dma.c
> +++ b/drivers/dma/imx-dma.c
> @@ -14,6 +14,7 @@
> * http://www.gnu.org/copyleft/gpl.html
> */
> #include <linux/init.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/mm.h>
> #include <linux/interrupt.h>
> diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
> index b5cc27d..eab1fe7 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -18,6 +18,7 @@
> */
>
> #include <linux/init.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/mm.h>
> #include <linux/interrupt.h>


--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/