Received: by 10.223.176.5 with SMTP id f5csp1979172wra; Thu, 8 Feb 2018 06:38:42 -0800 (PST) X-Google-Smtp-Source: AH8x224UdmIoSj5xy+rkrftiAraTFoKVM/TstOp0KpuEDAnzZDTHj2supn7yuMBcVE1e+YvtxMGq X-Received: by 2002:a17:902:62:: with SMTP id 89-v6mr828874pla.284.1518100721948; Thu, 08 Feb 2018 06:38:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518100721; cv=none; d=google.com; s=arc-20160816; b=UZ0P7LtrlYrrynkl5NgZHiJEl41VHGszro2iplREuNKwFwxW91PxyAavH3eiOXLlvh CUIRLPsfJztM5r1y8B4zrAF0APsIEL7OhrrKU1AZMxvJsGSc0uhofVmdTjEPW9Kus+hB bBpK6hqocbaBx3BhJkhkY2mTkbt6Hgx8pUiJEqg4RDzjjl5DFKADCDYEzVbtyrNJP2as XvoRotazUHriY+3VmlvDSNTqJNjx+OgLXXmWWtJIn/qgQFXNu3vX+LkPlE3O/HLkAef8 Dn1EcorhItSn5vs3thnFC0tsrZiWJtd1VOiPApo/WuN5XX5qOr1vJpIPjUumsK8DdEiV zfUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=GL6HzwVibSr4fh1my4urErGxK9wMOzX74X1iI6BARpg=; b=P9fw+UPwZbiVzY/5JR1XSTglZo3qoA+fUPUu8blgqg6UaVaaSob/gq5+JMDPNM/fGt dnLyVhuV+IKSk8pwotJnLx/ZdYe/1jM7uDuWtiPXnX9ShLyvve55V2HscLWSTSPgRBGQ dyYWT26O7jq/G46/sPbx7ZBGVGkkGCcZ4xe+c/KQumMptAF1luEmDeFi4rOUEMVM7t7f I4pX/zUIAV/UJx1uMsgPN79k8g5knNrE3rP7mhA0hd6LUF0OcmnGfvAovQYoCig3L/Z+ qPVT+SrlGwT+oY+jpnwLX27RHSSFHb7r/bSCE2LLvl598XXZl2HrNlh23XnzQEOwdhl4 lfvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f64-v6si37973plb.817.2018.02.08.06.38.27; Thu, 08 Feb 2018 06:38:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752092AbeBHOf5 (ORCPT + 99 others); Thu, 8 Feb 2018 09:35:57 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:40254 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbeBHOfz (ORCPT ); Thu, 8 Feb 2018 09:35:55 -0500 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ejnIR-0007mG-MI; Thu, 08 Feb 2018 14:35:31 +0000 From: Colin King To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Sriram Periyasamy , Stephen Boyd , "Subhransu S . Prusty" , alsa-devel@alsa-project.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: Intel: Skylake: make function skl_clk_round_rate static Date: Thu, 8 Feb 2018 14:35:30 +0000 Message-Id: <20180208143530.11450-1-colin.king@canonical.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King The function skl_clk_round_rate is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: sound/soc/intel/skylake/skl-ssp-clk.c:250:6: warning: symbol 'skl_clk_round_rate' was not declared. Should it be static? Signed-off-by: Colin Ian King --- sound/soc/intel/skylake/skl-ssp-clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/skylake/skl-ssp-clk.c b/sound/soc/intel/skylake/skl-ssp-clk.c index 7fbddf5e3b00..cda1b5fa7436 100644 --- a/sound/soc/intel/skylake/skl-ssp-clk.c +++ b/sound/soc/intel/skylake/skl-ssp-clk.c @@ -247,8 +247,8 @@ static unsigned long skl_clk_recalc_rate(struct clk_hw *hw, } /* Not supported by clk driver. Implemented to satisfy clk fw */ -long skl_clk_round_rate(struct clk_hw *hw, unsigned long rate, - unsigned long *parent_rate) +static long skl_clk_round_rate(struct clk_hw *hw, unsigned long rate, + unsigned long *parent_rate) { return rate; } -- 2.15.1