]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ARM] Move AMBA bus code to drivers/amba/
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 7 Jan 2006 14:54:15 +0000 (14:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 7 Jan 2006 14:54:15 +0000 (14:54 +0000)
Make the AMBA bus code visible to other architectures.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/Makefile
drivers/Makefile
drivers/amba/Makefile [new file with mode: 0644]
drivers/amba/bus.c [moved from arch/arm/common/amba.c with 100% similarity]

index 2685051b30131666c703f5bd607eb9878ab6fefc..ec8d17c96906aac4819918799ed9296be6008c05 100644 (file)
@@ -3,7 +3,6 @@
 #
 
 obj-y                          += rtctime.o
-obj-$(CONFIG_ARM_AMBA)         += amba.o
 obj-$(CONFIG_ARM_GIC)          += gic.o
 obj-$(CONFIG_ICST525)          += icst525.o
 obj-$(CONFIG_ICST307)          += icst307.o
index ea410b6b7644fa4b7959e324ba5595019b90bfe6..7fc3f0f08b29e76aa8db89f82e6e62378391d61d 100644 (file)
@@ -13,6 +13,7 @@ obj-$(CONFIG_ACPI)            += acpi/
 # PnP must come after ACPI since it will eventually need to check if acpi
 # was used and do nothing if so
 obj-$(CONFIG_PNP)              += pnp/
+obj-$(CONFIG_ARM_AMBA)         += amba/
 
 # char/ comes before serial/ etc so that the VT console is the boot-time
 # default.
diff --git a/drivers/amba/Makefile b/drivers/amba/Makefile
new file mode 100644 (file)
index 0000000..40fe740
--- /dev/null
@@ -0,0 +1,2 @@
+obj-y          += bus.o
+
similarity index 100%
rename from arch/arm/common/amba.c
rename to drivers/amba/bus.c