Messages in this thread Patch in this message | | | Date | Fri, 24 Jun 2011 00:51:12 +0200 (CEST) | From | Jesper Juhl <> | Subject | [PATCH 25/37] Remove unneeded version.h includes (and add where needed) for drivers/staging/easycap/ |
| |
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/easycap/. This patch fixes up the includes.
Signed-off-by: Jesper Juhl <jj@chaosbits.net> --- drivers/staging/easycap/easycap.h | 1 - drivers/staging/easycap/easycap_ioctl.c | 1 + 2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h index 1f94e23..efbd61b 100644 --- a/drivers/staging/easycap/easycap.h +++ b/drivers/staging/easycap/easycap.h @@ -62,7 +62,6 @@ #include <linux/uaccess.h> #include <linux/i2c.h> -#include <linux/version.h> #include <linux/workqueue.h> #include <linux/poll.h> #include <linux/mm.h> diff --git a/drivers/staging/easycap/easycap_ioctl.c b/drivers/staging/easycap/easycap_ioctl.c index b3bd11d..f767f2e 100644 --- a/drivers/staging/easycap/easycap_ioctl.c +++ b/drivers/staging/easycap/easycap_ioctl.c @@ -25,6 +25,7 @@ */ /*****************************************************************************/ +#include <linux/version.h> #include "easycap.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.
| |