From patchwork Thu Jul 19 08:07:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Barry Song X-Patchwork-Id: 1215801 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 854F03FD4F for ; Thu, 19 Jul 2012 08:19:04 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SrloC-0004qT-OL; Thu, 19 Jul 2012 08:10:04 +0000 Received: from [85.115.60.190] (helo=cluster-d.mailcontrol.com) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SrlnS-0004pm-Q1 for linux-arm-kernel@lists.infradead.org; Thu, 19 Jul 2012 08:09:21 +0000 Received: from rly19d.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly19d.srv.mailcontrol.com (MailControl) with ESMTP id q6J88YVl011843 for ; Thu, 19 Jul 2012 09:08:38 +0100 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly19d.srv.mailcontrol.com (MailControl) id q6J87dYJ004421 for ; Thu, 19 Jul 2012 09:07:39 +0100 Received: from banasiexc01.ASIA.ROOT.PRI ([202.80.51.114]) by rly19d-eth0.srv.mailcontrol.com (envelope-sender ) (MIMEDefang) with ESMTP id q6J87Vlk003461 (TLS bits=128 verify=FAIL); Thu, 19 Jul 2012 09:07:39 +0100 (BST) Received: from SHAASIEXC01.ASIA.ROOT.PRI (10.125.12.84) by banasiexc01.ASIA.ROOT.PRI (10.190.12.21) with Microsoft SMTP Server (TLS) id 14.1.355.2; Thu, 19 Jul 2012 13:37:30 +0530 Received: from localhost.localdomain (10.125.36.195) by asimail.csr.com (10.125.12.88) with Microsoft SMTP Server (TLS) id 14.1.289.1; Thu, 19 Jul 2012 17:07:28 +0900 From: Barry Song To: Subject: [PATCH v2 RESEND 2/2] clk: prima2: move from arch/arm/mach to drivers/clk Date: Thu, 19 Jul 2012 16:07:15 +0800 Message-ID: <1342685235-7028-2-git-send-email-Barry.Song@csr.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1342685235-7028-1-git-send-email-Barry.Song@csr.com> References: <1342685235-7028-1-git-send-email-Barry.Song@csr.com> MIME-Version: 1.0 X-Originating-IP: [10.125.36.195] X-Scanned-By: MailControl 7.7.2 (www.mailcontrol.com) on 10.68.1.129 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [85.115.60.190 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS Cc: Arnd Bergmann , workgroup.linux@csr.com, linux-arm-kernel@lists.infradead.org, Barry Song X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Barry Song Signed-off-by: Barry Song Cc: Arnd Bergmann Acked-by: Arnd Bergmann --- arch/arm/mach-prima2/Makefile | 1 - drivers/clk/Makefile | 1 + .../mach-prima2/clock.c => drivers/clk/clk-sirf.c | 0 3 files changed, 1 insertions(+), 1 deletions(-) rename arch/arm/mach-prima2/clock.c => drivers/clk/clk-sirf.c (100%) diff --git a/arch/arm/mach-prima2/clock.c b/drivers/clk/clk-sirf.c similarity index 100% rename from arch/arm/mach-prima2/clock.c rename to drivers/clk/clk-sirf.c diff --git a/arch/arm/mach-prima2/Makefile b/arch/arm/mach-prima2/Makefile index 13dd160..841847d 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 02ffdf6..01821bb 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -5,6 +5,7 @@ obj-$(CONFIG_COMMON_CLK) += clk.o clk-fixed-rate.o clk-gate.o \ # SoCs specific obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o obj-$(CONFIG_ARCH_MXS) += mxs/ +obj-$(CONFIG_ARCH_PRIMA2) += clk-sirf.o obj-$(CONFIG_PLAT_SPEAR) += spear/ obj-$(CONFIG_ARCH_U300) += clk-u300.o obj-$(CONFIG_ARCH_INTEGRATOR) += versatile/