[MTD] removed unused #include <version.h>

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Aug 17 03:59:02 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8ee991dd343df57910ff6947696afada9f02bf7e
Commit:     8ee991dd343df57910ff6947696afada9f02bf7e
Parent:     ccbcd6cba5ef6e071deb072188ad044921f6b91e
Author:     Huang Weiyi <weiyi.huang at gmail.com>
AuthorDate: Sun Aug 17 07:50:44 2008 +0800
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun Aug 17 08:08:22 2008 +0100

    [MTD] removed unused #include <version.h>
    
    The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
      drivers/mtd/maps/amd76xrom.c
      drivers/mtd/maps/ck804xrom.c
      drivers/mtd/maps/esb2rom.c
    
    This patch removes the said #include <version.h>.
    
    Signed-off-by: Huang Weiyi <weiyi.huang at gmail.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/amd76xrom.c |    1 -
 drivers/mtd/maps/ck804xrom.c |    1 -
 drivers/mtd/maps/esb2rom.c   |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c
index 948b86f..d1eec7d 100644
--- a/drivers/mtd/maps/amd76xrom.c
+++ b/drivers/mtd/maps/amd76xrom.c
@@ -6,7 +6,6 @@
 
 #include <linux/module.h>
 #include <linux/types.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <asm/io.h>
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c
index effaf7c..1a6feb4 100644
--- a/drivers/mtd/maps/ck804xrom.c
+++ b/drivers/mtd/maps/ck804xrom.c
@@ -9,7 +9,6 @@
 
 #include <linux/module.h>
 #include <linux/types.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <asm/io.h>
diff --git a/drivers/mtd/maps/esb2rom.c b/drivers/mtd/maps/esb2rom.c
index aa64a47..bbbcdd4 100644
--- a/drivers/mtd/maps/esb2rom.c
+++ b/drivers/mtd/maps/esb2rom.c
@@ -12,7 +12,6 @@
 
 #include <linux/module.h>
 #include <linux/types.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <asm/io.h>



More information about the linux-mtd-cvs mailing list