Remove unneeded version.h includes (and add where needed) for drivers/staging/easycap/
authorJesper Juhl <jj@chaosbits.net>
Thu, 23 Jun 2011 22:51:12 +0000 (00:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 17:39:39 +0000 (10:39 -0700)
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>
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_ioctl.c

index 5d21620744fa53f67fe7d0f06044d3b7bc6ae7ae..f5e7193c4bdb71177cbfc6a41ff0f6a4da973fc2 100644 (file)
@@ -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>
index b3bd11d5879f67d1b42ba1907d31e829a361db56..f767f2ea390c65612f057182a979561356a54e85 100644 (file)
@@ -25,6 +25,7 @@
 */
 /*****************************************************************************/
 
+#include <linux/version.h>
 #include "easycap.h"
 
 /*--------------------------------------------------------------------------*/