Skip to contentSkip to conversation

removed unused #include <version.h>

DRIVERS/VIDEO Huang Weiyi 2 participants 2 messages Aug 16, 2008 – Aug 18, 2008 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

The driver(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/video/arkfb.c
drivers/video/s3fb.c
drivers/video/vt8623fb.c

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

drivers/video/arkfb.c +0 -1
index 4bd569e..314d186 100644
@@ -11,7 +11,6 @@
  *  Code is based on s3fb
  */
 
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
drivers/video/s3fb.c +0 -1
index 8361bd0..4dcec48 100644
@@ -11,7 +11,6 @@
  * which is based on the code of neofb.
  */
 
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
drivers/video/vt8623fb.c +0 -1
index 34aae7a..3df17dc 100644
@@ -12,7 +12,6 @@
  * (http://davesdomain.org.uk/viafb/)
  */
 
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
#1 lore raw
Quoted 8 lines · Huang Weiyi

The driver(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/video/arkfb.c
drivers/video/s3fb.c
drivers/video/vt8623fb.c

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

Signature · 5 lines
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: [email protected])
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."