2008-08-16 23:51:58

by Huang Weiyi

[permalink] [raw]
Subject: [DRIVERS/VIDEO] removed unused #include <version.h>

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>.

Signed-off-by: Huang Weiyi <[email protected]>

diff --git a/drivers/video/arkfb.c b/drivers/video/arkfb.c
index 4bd569e..314d186 100644
--- a/drivers/video/arkfb.c
+++ b/drivers/video/arkfb.c
@@ -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>
diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c
index 8361bd0..4dcec48 100644
--- a/drivers/video/s3fb.c
+++ b/drivers/video/s3fb.c
@@ -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>
diff --git a/drivers/video/vt8623fb.c b/drivers/video/vt8623fb.c
index 34aae7a..3df17dc 100644
--- a/drivers/video/vt8623fb.c
+++ b/drivers/video/vt8623fb.c
@@ -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>


2008-08-18 14:05:54

by Ondrej Zajicek

[permalink] [raw]
Subject: Re: [DRIVERS/VIDEO] removed unused #include <version.h>

On Sun, Aug 17, 2008 at 07:51:26AM +0800, Huang Weiyi wrote:
> 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>.
>
> Signed-off-by: Huang Weiyi <[email protected]>

Acked-by: Ondrej Zajicek <[email protected]>


--
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."


Attachments:
(No filename) (605.00 B)
signature.asc (197.00 B)
Digital signature
Download all attachments