Re: [PATCH] drivers/dma: linux/module.h included twice

From: Vinod Koul
Date: Tue Mar 06 2012 - 06:23:43 EST


On Wed, 2012-02-15 at 20:20 +0100, Danny Kukawka wrote:
> drivers/dma/imx-dma.c and drivers/dma/imx-sdma.c included
> 'linux/module.h' twice, remove the duplicates.
>
> Signed-off-by: Danny Kukawka <danny.kukawka@xxxxxxxxx>
> ---
> drivers/dma/imx-dma.c | 1 -
> drivers/dma/imx-sdma.c | 1 -
> 2 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
> index e4383ee..678cd01 100644
> --- a/drivers/dma/imx-dma.c
> +++ b/drivers/dma/imx-dma.c
> @@ -24,7 +24,6 @@
> #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 8bc5acf..63540d3 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -35,7 +35,6 @@
> #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>
Applied Thanks


--
~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/