From patchwork Mon Mar 25 16:54:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 2332381 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 949FB3FC54 for ; Mon, 25 Mar 2013 16:57:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932609Ab3CYQ4I (ORCPT ); Mon, 25 Mar 2013 12:56:08 -0400 Received: from mail-da0-f42.google.com ([209.85.210.42]:52972 "EHLO mail-da0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932561Ab3CYQ4E (ORCPT ); Mon, 25 Mar 2013 12:56:04 -0400 Received: by mail-da0-f42.google.com with SMTP id n15so3285118dad.1 for ; Mon, 25 Mar 2013 09:56:03 -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=J3pKQACzs2129etW45QqS4HJCCurWAS3Zb8AzWz4/ug=; b=a8BgT4BXlDllKiXLh6Jy9tWVpcD4JrGVNthGu4Pz691U8ut40EZCq7qSaaLOWFgQwt rP/luf+X/2llGCZsMWwDzlH5Rp+j5jcc+kpwjYtT+SegCmQX6oj4ZYjuqgGFd7aTnpYR M+9ROvzu/TblaLBdqKPCdyDKY1wC71OQhyhbktYycjJTGHx8emc14MAS2epS7m2RmKtc YJ0MpQwApqiEPDNHGbZBFaAqK4G1xUSxG+79HtJ7melysxmM6cDhvHvLaGpN6c3Ds9Wn uN07lKQiGRXkhfmpcy9x4EG8SVimPwCyuZTNYpYTznBhXqMqSS+aQP1Gp5O3P81DwMBa dbdQ== X-Received: by 10.66.252.101 with SMTP id zr5mr11855611pac.130.1364230563899; Mon, 25 Mar 2013 09:56:03 -0700 (PDT) Received: from localhost ([122.167.78.240]) by mx.google.com with ESMTPS id iv3sm14026262pbc.40.2013.03.25.09.55.58 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 25 Mar 2013 09:56:03 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl Cc: arvind.chauhan@arm.com, robin.randhawa@arm.com, Steve.Bannister@arm.com, Liviu.Dudau@arm.com, charles.garcia-tobin@arm.com, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, arnd.bergmann@linaro.org, Viresh Kumar , Guan Xuetao Subject: [PATCH 7/9] unicore2: cpufreq: move cpufreq driver to drivers/cpufreq Date: Mon, 25 Mar 2013 22:24:43 +0530 Message-Id: <27c30dd79c668dc3471d37fce2c83a4504d8b18c.1364229828.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: ALoCoQm+v9mU8zHiwpflLAR5cqHosA3SCUqGVO5ffRiYHWPMZqW0Y/n19FV6VcGFo4RKoFsMax94 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch moves cpufreq driver of UNICORE-2 architecture to drivers/cpufreq. Cc: Guan Xuetao Signed-off-by: Viresh Kumar Acked-by: Guan Xuetao --- arch/unicore32/kernel/Makefile | 1 - drivers/cpufreq/Makefile | 1 + arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arch/unicore32/kernel/cpu-ucv2.c => drivers/cpufreq/unicore2-cpufreq.c (96%) diff --git a/arch/unicore32/kernel/Makefile b/arch/unicore32/kernel/Makefile index fa497e0..607a72f 100644 --- a/arch/unicore32/kernel/Makefile +++ b/arch/unicore32/kernel/Makefile @@ -9,7 +9,6 @@ obj-y += setup.o signal.o sys.o stacktrace.o traps.o obj-$(CONFIG_MODULES) += ksyms.o module.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o -obj-$(CONFIG_CPU_FREQ) += cpu-ucv2.o obj-$(CONFIG_UNICORE_FPU_F64) += fpu-ucf64.o # obj-y for architecture PKUnity v3 diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index e572211..ab3a054 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -85,3 +85,4 @@ obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o +obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o diff --git a/arch/unicore32/kernel/cpu-ucv2.c b/drivers/cpufreq/unicore2-cpufreq.c similarity index 96% rename from arch/unicore32/kernel/cpu-ucv2.c rename to drivers/cpufreq/unicore2-cpufreq.c index ba5a71c..12fc904 100644 --- a/arch/unicore32/kernel/cpu-ucv2.c +++ b/drivers/cpufreq/unicore2-cpufreq.c @@ -1,5 +1,5 @@ /* - * linux/arch/unicore32/kernel/cpu-ucv2.c: clock scaling for the UniCore-II + * clock scaling for the UniCore-II * * Code specific to PKUnity SoC and UniCore ISA *