From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp14.mail.ru ([94.100.176.91]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WEw6G-0005xy-U0 for barebox@lists.infradead.org; Sun, 16 Feb 2014 07:25:21 +0000 From: Alexander Shiyan Date: Sun, 16 Feb 2014 11:24:31 +0400 Message-Id: <1392535477-21275-2-git-send-email-shc_work@mail.ru> In-Reply-To: <1392535477-21275-1-git-send-email-shc_work@mail.ru> References: <1392535477-21275-1-git-send-email-shc_work@mail.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/8] drivers/clk/clk-fixed.c: Fix sparse warning To: barebox@lists.infradead.org drivers/clk/clk-fixed.c:35:16: warning: symbol 'clk_fixed_ops' was not declared. Should it be static? Signed-off-by: Alexander Shiyan --- drivers/clk/clk-fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-fixed.c b/drivers/clk/clk-fixed.c index 3a38865..8164005 100644 --- a/drivers/clk/clk-fixed.c +++ b/drivers/clk/clk-fixed.c @@ -32,7 +32,7 @@ static unsigned long clk_fixed_recalc_rate(struct clk *clk, return fix->rate; } -struct clk_ops clk_fixed_ops = { +static struct clk_ops clk_fixed_ops = { .recalc_rate = clk_fixed_recalc_rate, .is_enabled = clk_is_enabled_always, }; -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox