[ARM] 3373/1: move uengine loader to arch/arm/common
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 20 Mar 2006 17:10:17 +0000 (17:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Mar 2006 22:06:16 +0000 (22:06 +0000)
Patch from Lennert Buytenhek

Move the uengine loader from arch/arm/mach-ixp2000 to arch/arm/common
so that ixp23xx can use it too.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/Makefile
arch/arm/common/uengine.c [moved from arch/arm/mach-ixp2000/uengine.c with 99% similarity]
arch/arm/mach-ixp2000/Makefile
drivers/net/ixp2000/enp2611.c
drivers/net/ixp2000/ixpdev.c
include/asm-arm/hardware/uengine.h [moved from include/asm-arm/arch-ixp2000/uengine.h with 100% similarity]

index c81a2ff..847e3e6 100644 (file)
@@ -15,3 +15,4 @@ obj-$(CONFIG_SHARP_LOCOMO)    += locomo.o
 obj-$(CONFIG_SHARP_PARAM)      += sharpsl_param.o
 obj-$(CONFIG_SHARPSL_PM)       += sharpsl_pm.o
 obj-$(CONFIG_SHARP_SCOOP)      += scoop.o
+obj-$(CONFIG_ARCH_IXP2000)     += uengine.o
similarity index 99%
rename from arch/arm/mach-ixp2000/uengine.c
rename to arch/arm/common/uengine.c
index ec4e007..a1310b7 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/string.h>
 #include <asm/hardware.h>
 #include <asm/arch/ixp2000-regs.h>
-#include <asm/arch/uengine.h>
+#include <asm/hardware/uengine.h>
 #include <asm/io.h>
 
 #define USTORE_ADDRESS                 0x000
index 9621aeb..1e6139d 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Makefile for the linux kernel.
 #
-obj-y                  := core.o pci.o uengine.o
+obj-y                  := core.o pci.o
 obj-m                  :=
 obj-n                  :=
 obj-                   :=
index d82651a..6f7dce8 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/etherdevice.h>
 #include <linux/init.h>
 #include <linux/moduleparam.h>
-#include <asm/arch/uengine.h>
+#include <asm/hardware/uengine.h>
 #include <asm/mach-types.h>
 #include <asm/io.h>
 #include "ixpdev.h"
index 09f03f4..77f104a 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/etherdevice.h>
 #include <linux/init.h>
 #include <linux/moduleparam.h>
-#include <asm/arch/uengine.h>
+#include <asm/hardware/uengine.h>
 #include <asm/mach-types.h>
 #include <asm/io.h>
 #include "ixp2400_rx.ucode"