[PATCH 1/82] remove linux/version.h include from arch/arm*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason.
remove one LINUX_VERSION_CODE check

Signed-off-by: Olaf Hering <[email protected]>

arch/arm/mach-omap/leds-h2p2-debug.c |    1 -
arch/arm/mach-omap/ocpi.c            |    1 -
arch/arm/nwfpe/fpmodule.c            |    1 -
arch/arm26/nwfpe/fpmodule.c          |    3 ---
4 files changed, 6 deletions(-)

Index: linux-2.6.13-rc2-mm1/arch/arm26/nwfpe/fpmodule.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/arm26/nwfpe/fpmodule.c
+++ linux-2.6.13-rc2-mm1/arch/arm26/nwfpe/fpmodule.c
@@ -24,7 +24,6 @@
#include "fpa11.h"

#include <linux/module.h>
-#include <linux/version.h>
#include <linux/config.h>

/* XXX */
@@ -46,10 +45,8 @@ typedef struct task_struct*	PTASK;

#ifdef MODULE
void fp_send_sig(unsigned long sig, PTASK p, int priv);
-#if LINUX_VERSION_CODE > 0x20115
MODULE_AUTHOR("Scott Bambrough <[email protected]>");
MODULE_DESCRIPTION("NWFPE floating point emulator");
-#endif

#else
#define fp_send_sig	send_sig
Index: linux-2.6.13-rc2-mm1/arch/arm/mach-omap/leds-h2p2-debug.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/arm/mach-omap/leds-h2p2-debug.c
+++ linux-2.6.13-rc2-mm1/arch/arm/mach-omap/leds-h2p2-debug.c
@@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/sched.h>
-#include <linux/version.h>

#include <asm/io.h>
#include <asm/hardware.h>
Index: linux-2.6.13-rc2-mm1/arch/arm/mach-omap/ocpi.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/arm/mach-omap/ocpi.c
+++ linux-2.6.13-rc2-mm1/arch/arm/mach-omap/ocpi.c
@@ -25,7 +25,6 @@

#include <linux/config.h>
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
Index: linux-2.6.13-rc2-mm1/arch/arm/nwfpe/fpmodule.c
===================================================================
--- linux-2.6.13-rc2-mm1.orig/arch/arm/nwfpe/fpmodule.c
+++ linux-2.6.13-rc2-mm1/arch/arm/nwfpe/fpmodule.c
@@ -24,7 +24,6 @@
#include "fpa11.h"

#include <linux/module.h>
-#include <linux/version.h>
#include <linux/config.h>

/* XXX */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux