From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754560AbbEKOGK (ORCPT ); Mon, 11 May 2015 10:06:10 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:35985 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827AbbEKOGG (ORCPT ); Mon, 11 May 2015 10:06:06 -0400 Message-ID: <5550B74A.8010607@linaro.org> Date: Mon, 11 May 2015 16:06:02 +0200 From: Daniel Lezcano User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Krzysztof Kozlowski , Thomas Gleixner , Kukjin Kim , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org CC: Chanwoo Choi , Inki Dae Subject: Re: [PATCH 2/3] clocksource: exynos_mct: Staticize struct clocksource References: <1430368973-23786-1-git-send-email-k.kozlowski@samsung.com> <1430368973-23786-2-git-send-email-k.kozlowski@samsung.com> In-Reply-To: <1430368973-23786-2-git-send-email-k.kozlowski@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/30/2015 06:42 AM, Krzysztof Kozlowski wrote: > The struct clocksource 'mct_frc' is not exported and used outside so > make it static. > > Signed-off-by: Krzysztof Kozlowski > --- Applied to my tree for 4.2 -- Daniel > drivers/clocksource/exynos_mct.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c > index 87c2e558c465..8b2a9fc66dcc 100644 > --- a/drivers/clocksource/exynos_mct.c > +++ b/drivers/clocksource/exynos_mct.c > @@ -209,7 +209,7 @@ static void exynos4_frc_resume(struct clocksource *cs) > exynos4_mct_frc_start(); > } > > -struct clocksource mct_frc = { > +static struct clocksource mct_frc = { > .name = "mct-frc", > .rating = 400, > .read = exynos4_frc_read, > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog