summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-06-24 00:51:12 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 10:39:39 -0700
commit0de7586a11890b9fbf1cfc119adf2ba59841f41e (patch)
tree8ce281506aa46e5ee96eb5bba1ccd4b7a187b6ea
parentdc7daeae5d92fac5820c7075416097f8371b1674 (diff)
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/easycap/easycap.h1
-rw-r--r--drivers/staging/easycap/easycap_ioctl.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h
index 5d21620744fa..f5e7193c4bdb 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 b3bd11d5879f..f767f2ea390c 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"
/*--------------------------------------------------------------------------*/