Просмотр исходного кода

[ARM] Move AMBA bus code to drivers/amba/

Make the AMBA bus code visible to other architectures.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 19 лет назад
Родитель
Сommit
de1d815fcc
4 измененных файлов с 3 добавлено и 1 удалено
  1. 0 1
      arch/arm/common/Makefile
  2. 1 0
      drivers/Makefile
  3. 2 0
      drivers/amba/Makefile
  4. 0 0
      drivers/amba/bus.c

+ 0 - 1
arch/arm/common/Makefile

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

+ 1 - 0
drivers/Makefile

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

+ 2 - 0
drivers/amba/Makefile

@@ -0,0 +1,2 @@
+obj-y		+= bus.o
+

+ 0 - 0
arch/arm/common/amba.c → drivers/amba/bus.c