From patchwork Thu Apr 4 12:54:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 2392461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 324D7DF25A for ; Thu, 4 Apr 2013 12:56:49 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNjii-0002vB-Cc for patchwork-linux-arm@patchwork.kernel.org; Thu, 04 Apr 2013 12:56:48 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNjhZ-0005Ta-Rm; Thu, 04 Apr 2013 12:55:37 +0000 Received: from mail-pb0-f43.google.com ([209.85.160.43]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNjhP-0005Rb-KG for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2013 12:55:29 +0000 Received: by mail-pb0-f43.google.com with SMTP id md4so1428622pbc.30 for ; Thu, 04 Apr 2013 05:55:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=tHAZAXHv/RIvcTcWxFfs6jxqN4q7LLpXXq7NzG+td9Y=; b=hKwdU47ik4G2RVER0q1dm92AMA15X/Fb2i2E/9V+zLvthV8EL4wA/EtoFVsnAq5etw MOcVKcwnfqwuTRoUKJCSdNZbskzWoUm8r/NCNWeRF5TIgGldv0nNLBl2TWrMRQMf0Ocg D544bF3y76b/WmsxgPDhsBMy1X7QSq7H1WKz65DS5/NwG6yC9jzf81YGYsT+fyLVYizR 1eiudU1vRXAkpLTiyaxINrAWcqJ1dhV/OTOeBwlhYQjpa+my1UPIWD292q5tvGGslahW K+T4wX5CNJsTlTwGebwkLW9lFqBq6Q9cuk8AHSIF4Fbg3BVltSgGiqfErsME1axeffAv 1j9w== X-Received: by 10.68.225.3 with SMTP id rg3mr8479619pbc.188.1365080125781; Thu, 04 Apr 2013 05:55:25 -0700 (PDT) Received: from localhost ([122.172.193.181]) by mx.google.com with ESMTPS id kb3sm10140255pbc.21.2013.04.04.05.55.20 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 04 Apr 2013 05:55:25 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl Subject: [PATCH 02/18] cpufreq: tegra: Move driver to drivers/cpufreq Date: Thu, 4 Apr 2013 18:24:10 +0530 Message-Id: <64b0150f8052708fa606c59322e34bd023ee4b0b.1365079581.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQlvHtWFDoGzGq1aA/ZA5dqkBW11nLm1eKlDnkbe47QwSd0fTzVpE0mEhg+MH5FX/CHuzAU5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130404_085527_767688_B672C534 X-CRM114-Status: GOOD ( 10.20 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.43 listed in list.dnswl.org] 1.7 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: robin.randhawa@arm.com, Stephen Warren , linux-pm@vger.kernel.org, Viresh Kumar , patches@linaro.org, Liviu.Dudau@arm.com, linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, Steve.Bannister@arm.com, linux-arm-kernel@lists.infradead.org, arvind.chauhan@arm.com, linaro-kernel@lists.linaro.org, charles.garcia-tobin@arm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch moves cpufreq driver of ARM based tegra platform to drivers/cpufreq. Cc: Stephen Warren Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Viresh Kumar Acked-by: Stephen Warren Tested-by: Stephen Warren Acked-by: Arnd Bergmann --- arch/arm/mach-tegra/Makefile | 1 - drivers/cpufreq/Makefile | 1 + arch/arm/mach-tegra/cpu-tegra.c => drivers/cpufreq/tegra-cpufreq.c | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) rename arch/arm/mach-tegra/cpu-tegra.c => drivers/cpufreq/tegra-cpufreq.c (99%) diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile index f6b46ae..09b578f 100644 --- a/arch/arm/mach-tegra/Makefile +++ b/arch/arm/mach-tegra/Makefile @@ -24,7 +24,6 @@ obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += cpuidle-tegra30.o endif obj-$(CONFIG_SMP) += platsmp.o headsmp.o obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o -obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o obj-$(CONFIG_TEGRA_PCI) += pcie.o obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-dt-tegra20.o diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index 2c25504..c34094b 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -62,6 +62,7 @@ obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o +obj-$(CONFIG_ARCH_TEGRA) += tegra-cpufreq.o ################################################################################## # PowerPC platform drivers diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/drivers/cpufreq/tegra-cpufreq.c similarity index 99% rename from arch/arm/mach-tegra/cpu-tegra.c rename to drivers/cpufreq/tegra-cpufreq.c index 11ca730..c74c0e1 100644 --- a/arch/arm/mach-tegra/cpu-tegra.c +++ b/drivers/cpufreq/tegra-cpufreq.c @@ -1,6 +1,4 @@ /* - * arch/arm/mach-tegra/cpu-tegra.c - * * Copyright (C) 2010 Google, Inc. * * Author: