From patchwork Thu Nov 10 15:19:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9421209 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4D5B060512 for ; Thu, 10 Nov 2016 15:19:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4354A2976B for ; Thu, 10 Nov 2016 15:19:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37A902976E; Thu, 10 Nov 2016 15:19:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDD672976B for ; Thu, 10 Nov 2016 15:19:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934162AbcKJPTX (ORCPT ); Thu, 10 Nov 2016 10:19:23 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34500 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934010AbcKJPTW (ORCPT ); Thu, 10 Nov 2016 10:19:22 -0500 Received: by mail-pf0-f196.google.com with SMTP id y68so4558535pfb.1 for ; Thu, 10 Nov 2016 07:19:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c3LIM5OL2mqFy4Zx83muPI1t9+RwkuJnFbEpfQlQnbs=; b=cU0pSDd8sApCcZNYP9FQAuGvZzGZ1X3sli7jRLmO8QzdT7gUt2KsTwB7gVaH34dWTm R/1UtoBzZM1b5sLm3CS9a83OnwpcCxUMRoQqni8HHToaJw7pwPCyqt0nMnbvHAtoLMm/ XYPsDCRZpJmRqICC8DtxDCrWuXA8jQXYqPzhhxobT9GUkAHDR5NhxTT1u8IYZuyULOl3 Pyn6sDTpMXG1C6MKaa0+4IvSEvnMo+tNXnzfoj8JiPEp7Ugtg9m5r0UZNJO81edX6RTm V1av4He2GI5Ct/NWZJkZknpKZNdwWxyuakj4Cqcu6UqsZXhTOCSKi2k5DzD2rD/camxC 79Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c3LIM5OL2mqFy4Zx83muPI1t9+RwkuJnFbEpfQlQnbs=; b=eX/A/8u6xtd83Q+/0cX9IJG61jNDGJpqZBMcXJVDlFY6aa/LPKGul+NrQ6yZgyxaKk 9DBV5FKt15zvMm8KYZE6TgyfXjcHEkuIQhzFPlAT1l7KVN6iR5fyFaBtAFylvzbh3tW0 l+2AGatkeTvQdt7nMi5iVEpS4vnQzuumI78ZDe6HGH1BwB8UQ3VR6CCW4/Kn5jTTOUGj gVcjyCZhlE3qlHaorLdT+nsgLXI1fC4Tx7MOTzkG14ayGKiE8Hnm1hMKpGawG4c/qTDI dSfYxVhDN+j0LXMcTZjvrj6cSRysYxUWnjpscVvGUTkCZKNF29fPbw9AkdI2XpFY8JnT DpCg== X-Gm-Message-State: ABUngveDEQF5NWURdov3JJBRwRxhvxKOPaZ373JzjvzVQo4W/i2Eq4GyBCLKIudjxTxFvQ== X-Received: by 10.98.160.140 with SMTP id p12mr10900887pfl.122.1478791161882; Thu, 10 Nov 2016 07:19:21 -0800 (PST) Received: from localhost.wihifi.com (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id g78sm8118286pfe.19.2016.11.10.07.19.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Nov 2016 07:19:21 -0800 (PST) From: Wei Yongjun To: Markus Mayer , "Rafael J. Wysocki" , Viresh Kumar , Brian Norris , Gregory Fong , Florian Fainelli Cc: Wei Yongjun , bcm-kernel-feedback-list@broadcom.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH -next] cpufreq: brcmstb-avs-cpufreq: make symbol brcm_avs_cpufreq_attr static Date: Thu, 10 Nov 2016 15:19:05 +0000 Message-Id: <1478791145-21137-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/cpufreq/brcmstb-avs-cpufreq.c:982:18: warning: symbol 'brcm_avs_cpufreq_attr' was not declared. Should it be static? Signed-off-by: Wei Yongjun Acked-by: Markus Mayer Acked-by: Viresh Kumar --- drivers/cpufreq/brcmstb-avs-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/cpufreq/brcmstb-avs-cpufreq.c b/drivers/cpufreq/brcmstb-avs-cpufreq.c index b761d54..4fda623 100644 --- a/drivers/cpufreq/brcmstb-avs-cpufreq.c +++ b/drivers/cpufreq/brcmstb-avs-cpufreq.c @@ -979,7 +979,7 @@ cpufreq_freq_attr_ro(brcm_avs_pmap); cpufreq_freq_attr_ro(brcm_avs_voltage); cpufreq_freq_attr_ro(brcm_avs_frequency); -struct freq_attr *brcm_avs_cpufreq_attr[] = { +static struct freq_attr *brcm_avs_cpufreq_attr[] = { &cpufreq_freq_attr_scaling_available_freqs, &brcm_avs_pstate, &brcm_avs_mode,