Skip to contentSkip to conversation

removed unused #include <version.h>

INPUT Huang Weiyi 2 participants 2 messages Aug 16, 2008 – Aug 18, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/input/keyboard/gpio_keys.c drivers/input/mouse/gpio_mouse.c drivers/input/tablet/gtco.c

This patch removes the said #include <version.h>.

drivers/input/keyboard/gpio_keys.c +0 -1
index be58730..a0fcc4c 100644
@@ -9,7 +9,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
 
 #include <linux/init.h>
 #include <linux/fs.h>
drivers/input/mouse/gpio_mouse.c +0 -1
index 3392901..72cf5e3 100644
@@ -9,7 +9,6 @@
  */
 
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/input-polldev.h>
drivers/input/tablet/gtco.c +0 -1
index b9b7a98..7df0228 100644
@@ -64,7 +64,6 @@ Scott Hill [email protected]
 #include <asm/byteorder.h>
 
 
-#include <linux/version.h>
 #include <linux/usb/input.h>
 
 /* Version with a Major number of 2 is for kernel inclusion only. */
maintainer
#1 lore raw
Quoted 7 lines · Huang Weiyi

The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/input/keyboard/gpio_keys.c drivers/input/mouse/gpio_mouse.c drivers/input/tablet/gtco.c

This patch removes the said #include <version.h>.

Folded with the other version.h removeal patch and applied, thank you.

Signature · 1 line
Dmitry