From 496093fdc4bd865b8206d161d4221d5afe1e6696 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 1 Feb 2012 19:39:04 +0800 Subject: [PATCH] rk: move last_log.c from mach-rk29 to plat-rk --- arch/arm/Makefile | 1 + arch/arm/mach-rk29/Makefile | 1 - arch/arm/plat-rk/Makefile | 1 + arch/arm/{mach-rk29 => plat-rk}/last_log.c | 0 4 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 arch/arm/plat-rk/Makefile rename arch/arm/{mach-rk29 => plat-rk}/last_log.c (100%) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index e36ba2ebec05..824054012c90 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -208,6 +208,7 @@ plat-$(CONFIG_PLAT_IOP) := iop plat-$(CONFIG_PLAT_NOMADIK) := nomadik plat-$(CONFIG_PLAT_ORION) := orion plat-$(CONFIG_PLAT_PXA) := pxa +plat-$(CONFIG_PLAT_RK) := rk plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung plat-$(CONFIG_PLAT_S5P) := s5p samsung plat-$(CONFIG_PLAT_SPEAR) := spear diff --git a/arch/arm/mach-rk29/Makefile b/arch/arm/mach-rk29/Makefile index 1d5d68c4f809..65898f2e3bcd 100644 --- a/arch/arm/mach-rk29/Makefile +++ b/arch/arm/mach-rk29/Makefile @@ -4,7 +4,6 @@ obj-y += early_printk.o ifndef CONFIG_DEBUG_LL obj-y += ../kernel/debug.o endif -obj-$(CONFIG_RK29_LAST_LOG) += last_log.o obj-$(CONFIG_USB_GADGET) += usb_detect.o obj-$(CONFIG_PM) += pm.o obj-$(CONFIG_CPU_FREQ) += cpufreq.o diff --git a/arch/arm/plat-rk/Makefile b/arch/arm/plat-rk/Makefile new file mode 100644 index 000000000000..fd1f267c0c89 --- /dev/null +++ b/arch/arm/plat-rk/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_RK29_LAST_LOG) += last_log.o diff --git a/arch/arm/mach-rk29/last_log.c b/arch/arm/plat-rk/last_log.c similarity index 100% rename from arch/arm/mach-rk29/last_log.c rename to arch/arm/plat-rk/last_log.c -- 2.34.1