From bc0e489eb07f4aa2fb5cb9b7ff1fdf4b6ba3bda5 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Mon, 20 Aug 2012 06:42:37 +0000 Subject: [PATCH] clk: prima2: move from arch/arm/mach to drivers/clk Signed-off-by: Barry Song Acked-by: Arnd Bergmann Signed-off-by: Mike Turquette --- arch/arm/mach-prima2/Makefile | 1 - drivers/clk/Makefile | 1 + arch/arm/mach-prima2/clock.c => drivers/clk/clk-prima2.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/mach-prima2/clock.c => drivers/clk/clk-prima2.c (100%) diff --git a/arch/arm/mach-prima2/Makefile b/arch/arm/mach-prima2/Makefile index 13dd1604d951..841847d56032 100644 --- a/arch/arm/mach-prima2/Makefile +++ b/arch/arm/mach-prima2/Makefile @@ -1,6 +1,5 @@ obj-y := timer.o obj-y += irq.o -obj-y += clock.o obj-y += rstc.o obj-y += prima2.o obj-y += rtciobrg.o diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 5869ea387054..d4c7253eb307 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_ARCH_SOCFPGA) += socfpga/ obj-$(CONFIG_PLAT_SPEAR) += spear/ obj-$(CONFIG_ARCH_U300) += clk-u300.o obj-$(CONFIG_ARCH_INTEGRATOR) += versatile/ +obj-$(CONFIG_ARCH_PRIMA2) += clk-prima2.o # Chip specific obj-$(CONFIG_COMMON_CLK_WM831X) += clk-wm831x.o diff --git a/arch/arm/mach-prima2/clock.c b/drivers/clk/clk-prima2.c similarity index 100% rename from arch/arm/mach-prima2/clock.c rename to drivers/clk/clk-prima2.c -- 2.20.1