From patchwork Sun May 11 07:51:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 4149511 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 527FD9F23C for ; Sun, 11 May 2014 07:51:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 827FE202FE for ; Sun, 11 May 2014 07:51:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90971202DD for ; Sun, 11 May 2014 07:51:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755650AbaEKHvy (ORCPT ); Sun, 11 May 2014 03:51:54 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:35074 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754853AbaEKHvy (ORCPT ); Sun, 11 May 2014 03:51:54 -0400 Received: by mail-pa0-f50.google.com with SMTP id fb1so6167764pad.9 for ; Sun, 11 May 2014 00:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=wn2A4ZEhslwewLh3fB5zJwezT+OI+xm4fzKCBiP5AC8=; b=F++2nf2nQNnFCcSie5e6kSOuqYp7iLJDNWsNx+RR1kYIl0wTgpMGwDB55NqG0vCnTQ hjzg/txD/nAT3jaYEw0ihifqdmmqoWshHv2K+93cGOEvkPHIsbacQmNCgM5C6BOUtAJc FRWDbOqzezfwtiZUrYz8mb8A35y0uRqA1qGPHqy4JtZd5tXC0qbTRzJFjwW7fOkm9ciR T+HArkg3JKhBIG0021o0wIsczlfGzPn/K6vwSFwcTekhAWfDu21qVDYEyPtO+vAE5ZK2 gBXnMrDP/KrVYz4FP0fIFSSPMgQL/sO6cV872oGN2qH0igxR2t4t1PdmO1v21DrqW7Rd xH4w== X-Received: by 10.66.251.101 with SMTP id zj5mr3177825pac.154.1399794713675; Sun, 11 May 2014 00:51:53 -0700 (PDT) Received: from norris-Latitude-E6410.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id x5sm16400602pbw.26.2014.05.11.00.51.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 11 May 2014 00:51:52 -0700 (PDT) From: Brian Norris To: "Rafael J. Wysocki" Cc: Brian Norris , Viresh Kumar , cpufreq@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] cpufreq: powernv: make local function static Date: Sun, 11 May 2014 00:51:20 -0700 Message-Id: <1399794680-22210-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP powernv_cpufreq_get() is only referenced in this file. Signed-off-by: Brian Norris Cc: Viresh Kumar Cc: Rafael J. Wysocki Cc: cpufreq@vger.kernel.org Cc: linux-pm@vger.kernel.org Reviewed-by: Srivatsa S. Bhat Acked-by: Viresh Kumar on V2. Reviewed-by: Gautham R. Shenoy --- drivers/cpufreq/powernv-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/powernv-cpufreq.c b/drivers/cpufreq/powernv-cpufreq.c index af4968813e76..bb1d08dc8cc8 100644 --- a/drivers/cpufreq/powernv-cpufreq.c +++ b/drivers/cpufreq/powernv-cpufreq.c @@ -235,7 +235,7 @@ static void powernv_read_cpu_freq(void *arg) * firmware for CPU 'cpu'. This value is reported through the sysfs * file cpuinfo_cur_freq. */ -unsigned int powernv_cpufreq_get(unsigned int cpu) +static unsigned int powernv_cpufreq_get(unsigned int cpu) { struct powernv_smp_call_data freq_data;