Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp56782ybp; Thu, 10 Oct 2019 13:55:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+wNSneZ9zSZmU6nhu+cthdiaYRQp0gUb+MlitQ/a/8Tum+elWa1grDPXHXz6wqcEIHzId X-Received: by 2002:a17:906:b817:: with SMTP id dv23mr10220261ejb.22.1570740917555; Thu, 10 Oct 2019 13:55:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570740917; cv=none; d=google.com; s=arc-20160816; b=lZQ/gcM7tJTXeIPN+hm3i+/d/UlvfaelmKGvmoYgDOg9PtgAitz7714WFJbYF8+nCl APXR/dIILVru0hNoP8st3iCJM18q3q024LaIV8o4A0xjvD0/81TEMC0sEgzmH4vo8tPV UD39aoA6vTX+ydEN/9ewCAZZWvpxdxy3l0Hd8yZrdek8lun5WeSuMTO3Xd4koFcxFq9U zZRTsX6m5SOxA7y777EuxtHvd7tqiGPEUBn8WEyWrym0WdbTgzzptjEVHoyiBl7S1JNf /8Yy7gqa8ylEY6vnRu4ufNPHbwU5PY3zzjlrO3Z0Q0Y8WHPOBfloJbyr7KguU4WrfvJq 7Otw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Kr/inwUtH+0Shf0qS3k9zglpy92+C+28RBVlHM6X5Lc=; b=ecwyHHpyR7ktHaLSE6E2VN+1f/mPlX07VxmzK9nMYGZcwjnLe5+8mPWfc/aAAOfC3W KlSqqgBeskHaro7zZXPz0wXwfEBtlOwa4mAx6QNTwAniWb8WKHsPdV/BRL14fJCPWtwY nUfT5BNGw+ZAy1RYwQZyLCw1KAnO9gkWeNKmxgT8TN6u2reWJL6jri9M0MsGMkjO8fvP uu28ytrw9wzUBnvglh/dWv7cjYTPTBrS5A0x3wechXDYbnNCzULd7VTKCkUgaUgETy3R LdCqs2ben1VZRj2Nurc8O0pWBhg7VxiPxwcBM/WGmLha1ALibqf58nDs6PJDMOoyF79L gc9w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si4496246eda.105.2019.10.10.13.54.54; Thu, 10 Oct 2019 13:55:17 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727384AbfJJUyR (ORCPT + 99 others); Thu, 10 Oct 2019 16:54:17 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:52207 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726942AbfJJUyR (ORCPT ); Thu, 10 Oct 2019 16:54:17 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MlbPO-1hrc9U25Ao-00ikbg; Thu, 10 Oct 2019 22:54:06 +0200 From: Arnd Bergmann To: Kukjin Kim , Krzysztof Kozlowski Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 32/36] ARM: s3c: iotiming: make functions static Date: Thu, 10 Oct 2019 22:30:16 +0200 Message-Id: <20191010203043.1241612-32-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191010203043.1241612-1-arnd@arndb.de> References: <20191010202802.1132272-1-arnd@arndb.de> <20191010203043.1241612-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:IDS5D8xeFEIPLv2XemOLk8aPKE5MJCSpKyizbsrVtR1rHKSIuNe oynjcyJToRV7HM5CiPyhXXx1gd7MYwJwn56K7cVeMHR79p6X6uWBItLeKxev8cYtU71WSpw s/ZlpvkJ2LP0kSX5kpDArRN69d2ka/3HhaHoW27h0UwAaY69tdFbYNi9ER9FMUSzt2oiBpD ZKOUguObpd5wwtu3PGgqw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:k/Oy6Jsk1sg=:7GOrKqTzFA7deDNTAELnR/ 6/9HId5aBuVM4PYqRHAYiihb98KdHmGHyJC3v9UNx2WwRo9vm3dUowkB3zmVgHgpg0G52hGIT kr6JPlJsZaAhVVgH6P4ugppXKiOaVu34ed+iLLRQGFy8gNrWDulrqyHVEBBMw4oxWubhQOrAV RUP32EyglpJqkFFrTgIoDvlR75R2W2RB/3qtCXseHL6ca529w9E8piTNwihaka5Qn+lsk3eAg y27IkO9U+YRCG6OSMx5odus0LE6b9BhQi0kMdsZObJ35O/2hA4kJJWa9MFhvXFwbLxCDAgXpH iInpkBMP7e4DqP22TOTZPXbqVYPsY1di34or4KmNCaDTKtBnjPHJ3XlFyCv5JIuWgb/f329Ii sIfjtK4Y0+2p+/FLXk9c3kb2OU9eCL0kLDzkS0mPp7K6ox5tB21EF4mT2N4mqVt7rtPB2bP3V RbnI4hUzk6jO3qZqrcUPq3TNACaVyLeM9lIk63+AxRMBNnFFol3LHJYv881fF+R+6XY8uY/uv eZcKJ2M90vyJp0V+s+9hDIqfuT6wxTVMDHZLy/uRcmyF9QumuTIBsutsWCkb6ZkbnLKtSQvsc f/NTm29ar52ag5i0D01SRHB6D3alb0oRoqzmO3n0u+G9a03jbA7/qZQrOBiuUWlEw8is71u+h kbZmDiBmYRb9zX6mb3zm173iuXLwZykriIrNHWt0XhyZfeToVLBpN7CqGtsTQ4/i7XYWs+KpN 9RruzEizeSRdMqyD3/rZ92yLN0cH/I0IUlyWOz00pvj0KLUymNuoD123UOvCW2447+pO3jdwL vcmRXm5xR0CnDfhFSpnlwP4yupCcSPV6thbk7DG8GZWmb2rU6YOBhW+qFn4sNvdIkZJH2eK9z Db4CdlgowBxAJ1/PZXBA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are two functions in this file that are never called from anywhere else, so they should be static to allow the compiler to optimize it better and not pollute the global namespace. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/iotiming-s3c2410.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c24xx/iotiming-s3c2410.c b/arch/arm/mach-s3c24xx/iotiming-s3c2410.c index 5b3b16dd0ce8..5d85c259f328 100644 --- a/arch/arm/mach-s3c24xx/iotiming-s3c2410.c +++ b/arch/arm/mach-s3c24xx/iotiming-s3c2410.c @@ -129,7 +129,7 @@ static unsigned int calc_0124(unsigned int cyc, unsigned long hclk_tns, return 0; } -int calc_tacp(unsigned int cyc, unsigned long hclk, unsigned long *v) +static int calc_tacp(unsigned int cyc, unsigned long hclk, unsigned long *v) { /* Currently no support for Tacp calculations. */ return 0; @@ -288,8 +288,8 @@ static unsigned int get_0124(unsigned long hclk_tns, * Given the BANKCON setting in @bt and the current frequency settings * in @cfg, update the cycle timing information. */ -void s3c2410_iotiming_getbank(struct s3c_cpufreq_config *cfg, - struct s3c2410_iobank_timing *bt) +static void s3c2410_iotiming_getbank(struct s3c_cpufreq_config *cfg, + struct s3c2410_iobank_timing *bt) { unsigned long bankcon = bt->bankcon; unsigned long hclk = cfg->freq.hclk_tns; -- 2.20.0