lkml.org 
[lkml]   [2011]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 34/37] Remove unneeded version.h includes (and add where needed) for drivers/tm6000/
    It was pointed out by 'make versioncheck' that linux/version.h was not
    always being included where needed and sometimes included needlessly
    in drivers/staging/tm6000/.
    This patch fixes up the includes.

    Signed-off-by: Jesper Juhl <jj@chaosbits.net>
    ---
    drivers/staging/tm6000/tm6000-cards.c | 1 -
    drivers/staging/tm6000/tm6000-video.c | 1 -
    drivers/staging/tm6000/tm6000.h | 3 +--
    3 files changed, 1 insertions(+), 4 deletions(-)

    diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c
    index a69c82e..be4b0e3 100644
    --- a/drivers/staging/tm6000/tm6000-cards.c
    +++ b/drivers/staging/tm6000/tm6000-cards.c
    @@ -23,7 +23,6 @@
    #include <linux/delay.h>
    #include <linux/i2c.h>
    #include <linux/usb.h>
    -#include <linux/version.h>
    #include <linux/slab.h>
    #include <media/v4l2-common.h>
    #include <media/tuner.h>
    diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c
    index 4264064..576f136 100644
    --- a/drivers/staging/tm6000/tm6000-video.c
    +++ b/drivers/staging/tm6000/tm6000-video.c
    @@ -30,7 +30,6 @@
    #include <linux/init.h>
    #include <linux/sched.h>
    #include <linux/random.h>
    -#include <linux/version.h>
    #include <linux/usb.h>
    #include <linux/videodev2.h>
    #include <media/v4l2-ioctl.h>
    diff --git a/drivers/staging/tm6000/tm6000.h b/drivers/staging/tm6000/tm6000.h
    index ae6369b..c56da62 100644
    --- a/drivers/staging/tm6000/tm6000.h
    +++ b/drivers/staging/tm6000/tm6000.h
    @@ -30,8 +30,7 @@
    #include <linux/i2c.h>
    #include <linux/mutex.h>
    #include <media/v4l2-device.h>
    -
    -
    +#include <linux/version.h>
    #include <linux/dvb/frontend.h>
    #include "dvb_demux.h"
    #include "dvb_frontend.h"
    --
    1.7.5.2

    --
    Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
    Don't top-post http://www.catb.org/jargon/html/T/top-post.html
    Plain text mails only, please.



    \
     
     \ /
      Last update: 2011-06-24 01:15    [W:0.020 / U:2.416 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site