From c9b0d6e85cbed884db965e47014c8aef85c15b56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 1 Feb 2012 19:41:34 +0800 Subject: [PATCH] rk: move usb_detect.c from mach-rk29 to plat-rk --- arch/arm/mach-rk29/Makefile | 1 - arch/arm/plat-rk/Makefile | 1 + arch/arm/{mach-rk29 => plat-rk}/usb_detect.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/{mach-rk29 => plat-rk}/usb_detect.c (100%) diff --git a/arch/arm/mach-rk29/Makefile b/arch/arm/mach-rk29/Makefile index 65898f2e3bcd..088080d55947 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_USB_GADGET) += usb_detect.o obj-$(CONFIG_PM) += pm.o obj-$(CONFIG_CPU_FREQ) += cpufreq.o obj-$(CONFIG_DDR_FREQ) += ddrfreq.o diff --git a/arch/arm/plat-rk/Makefile b/arch/arm/plat-rk/Makefile index fd1f267c0c89..4df221a38c8e 100644 --- a/arch/arm/plat-rk/Makefile +++ b/arch/arm/plat-rk/Makefile @@ -1 +1,2 @@ obj-$(CONFIG_RK29_LAST_LOG) += last_log.o +obj-$(CONFIG_USB_GADGET) += usb_detect.o diff --git a/arch/arm/mach-rk29/usb_detect.c b/arch/arm/plat-rk/usb_detect.c similarity index 100% rename from arch/arm/mach-rk29/usb_detect.c rename to arch/arm/plat-rk/usb_detect.c -- 2.34.1