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: 9421243 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 BC52260484 for ; Thu, 10 Nov 2016 15:22:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2C9029008 for ; Thu, 10 Nov 2016 15:22:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A601D293B9; Thu, 10 Nov 2016 15:22:36 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4753829008 for ; Thu, 10 Nov 2016 15:22:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c4r9t-0002FD-IU; Thu, 10 Nov 2016 15:20:57 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c4r8h-0008HI-4V for linux-arm-kernel@lists.infradead.org; Thu, 10 Nov 2016 15:19:49 +0000 Received: by mail-pf0-x244.google.com with SMTP id n85so4552599pfi.3 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=UGDADKIzn1bsE/XZWXVKt9JENkL5cHp/Rxv//5009/5O82yO+waPvvN4IMH/DhmNmU +A7h1MoVuhYTJHjrHM2QLaHl+6nB3aWzgbcvUNFVqT/ABen1AypIxGvXIjcT/EN8n4HL oNQyY03sX7/icyHNs/Aa3QPriBUh5UmYpq7fPsAwEw0Pyj/Bgq5qqoultwhd/eBoK6pj JertlcNV7E3vCSGa+gSEJN1/mFXhKwc/umrDdwqR8hgSHU3/qx8fqXwaJcO25r9789oy V33UVUufMKf3tTkcBVvA6t4AsLq8x0Sls5W0tNIxAFCmbzPWzB5UCaoLV0P2+AuYvXES bYvQ== X-Gm-Message-State: ABUngvcQ1jKX/t67E4a6z0YqkValqD/QIqab53LXGxjrnveg10r1SM3TF6d0K7LOr++9FQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161110_071943_714404_E6270D54 X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bcm-kernel-feedback-list@broadcom.com, Wei Yongjun , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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(-) 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,