lkml.org 
[lkml]   [2012]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] drivers/dma: linux/module.h included twice
    Date
    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@bisect.de>
    ---
    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>
    --
    1.7.8.3


    \
     
     \ /
      Last update: 2012-02-15 20:23    [W:0.024 / U:0.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site