From patchwork Tue Jun 2 12:31:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 6528471 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 52D659F1CC for ; Tue, 2 Jun 2015 12:33:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 752B1203AA for ; Tue, 2 Jun 2015 12:33:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 77E4D20569 for ; Tue, 2 Jun 2015 12:33:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983AbbFBMcv (ORCPT ); Tue, 2 Jun 2015 08:32:51 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34458 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758812AbbFBMcs (ORCPT ); Tue, 2 Jun 2015 08:32:48 -0400 Received: by wibut5 with SMTP id ut5so67693384wib.1 for ; Tue, 02 Jun 2015 05:32:47 -0700 (PDT) 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:in-reply-to :references; bh=TBRYH5gWWGcQQlgkSTQWfDToaZQl6g2yfLHgkzVYzdU=; b=mBdrs2ky1nk/oMKdYBazdVAWXbjPq0ffMGUW7BSmzzsUkJrDGXRK8+8M69l39uMg9k 9TavUHL8Dd7WxUe2JbmOkijkFDCN4F6qYOsMeOeuKj1+GZNY1d0xnzJyIEaI2bnRr8p/ j9vopsibcluOQDmlVpir1gaDhxDRSZ3PuGsrHIfeI+USDr1c5poaqQ6a4b4iIFrCmKk5 Fr3gclNOQ3ekPPl/MIDhBWXsNIsPxjdI5IYRQQVj9kcZoTsP7/zk4SLRDqUhNNiYFcFg UxZ/jaXCvILOM+A/sK6GinrFy8oy60nr0mWybgtiZBYZnDwrg1r2DE5z2D08DJdB/6eR /rKA== X-Gm-Message-State: ALoCoQm3c0EdteYPcaDUybkEUlD/VLUCNMkL/h4BhZZ9QZYYaZ+Scq55fevX/Mb5qEvZ+eKhNYnY X-Received: by 10.180.19.100 with SMTP id d4mr29469466wie.95.1433248367249; Tue, 02 Jun 2015 05:32:47 -0700 (PDT) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by mx.google.com with ESMTPSA id tl3sm26620396wjc.20.2015.06.02.05.32.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Jun 2015 05:32:46 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: Krzysztof Kozlowski , Kukjin Kim , linux-kernel@vger.kernel.org (open list:CLOCKSOURCE, CLOC...), linux-arm-kernel@lists.infradead.org (moderated list:ARM/SAMSUNG EXYNO...), linux-samsung-soc@vger.kernel.org (moderated list:ARM/SAMSUNG EXYNO...) Subject: [PATCH 03/11] clocksource/drivers/exynos_mct: Staticize struct clocksource Date: Tue, 2 Jun 2015 14:31:48 +0200 Message-Id: <1433248316-26320-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433248316-26320-1-git-send-email-daniel.lezcano@linaro.org> References: <556DA1E5.1030601@linaro.org> <1433248316-26320-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Krzysztof Kozlowski The struct clocksource 'mct_frc' is not exported and used outside so make it static. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Daniel Lezcano --- 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 87c2e55..8b2a9fc 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,