From patchwork Tue Jun 28 10:30:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 9202595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 529CB60757 for ; Tue, 28 Jun 2016 10:34:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42DAB285C6 for ; Tue, 28 Jun 2016 10:34:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 371A8285D0; Tue, 28 Jun 2016 10:34:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C6A6A285C6 for ; Tue, 28 Jun 2016 10:34:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHqK5-0005r1-Ke; Tue, 28 Jun 2016 10:32:53 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHqK2-0005fa-24 for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2016 10:32:51 +0000 Received: by mail-wm0-x22d.google.com with SMTP id r201so20858416wme.1 for ; Tue, 28 Jun 2016 03:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6pUM0xpjAtnXsD/ilOFtvoBaD7u/lksCTGTDlSbFrEI=; b=GrhBs4791OOuj48mDbIxKGO9bj0ozMefbArDEhdwrvInwUFLgizTOFKbfh+H3m7ZGG bj+pXgLlGdvIBjn3vWi+bwWK5YNrSKAxCZ5JjDWQ+e4DFpjCbsd2P3iDGjm/fXH2P6N3 KTt+jXbS6vjfpZUwBUn8zHughaJT8PJFRSvVo= 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=6pUM0xpjAtnXsD/ilOFtvoBaD7u/lksCTGTDlSbFrEI=; b=huZiTQnBpbcd6gVYXO+aDBw1br640m37IQHUx/YZn0pdhvGozqlCWRGVfoYG20PfHf mlPPe5R1vjQ29rXuax3nwNDZdU6R1at8w9HNdigB+Nnd4PRRkr8SNxCAhxj0b0qLBJm/ OIi54duLKR0kHbr+LvmDlCt+uCGAvMX7wjj+LZAw4hNKTf9r/dibctVDGiiHNkP8CrGx wFq0Bs0qnC/vjgLYnl8OsPb+2yPwEAPcLJF8XLhvre9LEPVGp2l2XYx1wupMbSTXcT8a rU6l8L4Iw/46nKTx8+Onbr0W6gdTsPhjpsblDL+kxGEY3IIgxcoVL6jGEX320g5loUCk HRHA== X-Gm-Message-State: ALyK8tKcCb378jwsN3KGnteFqXuhDqq9EnNxlNHajZTPr6TafZbElwJw6Lfh1cXi8zTWjJk9 X-Received: by 10.194.88.106 with SMTP id bf10mr2603403wjb.37.1467109948134; Tue, 28 Jun 2016 03:32:28 -0700 (PDT) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id a84sm5377403wma.0.2016.06.28.03.32.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 03:32:27 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, tglx@linutronix.de Subject: [PATCH 02/92] clocksource/drivers/digicolor: Fix warning of non-static function Date: Tue, 28 Jun 2016 12:30:21 +0200 Message-Id: <1467109911-11060-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467109911-11060-1-git-send-email-daniel.lezcano@linaro.org> References: <577251A4.7030508@linaro.org> <1467109911-11060-1-git-send-email-daniel.lezcano@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160628_033250_253717_FD905BFB X-CRM114-Status: GOOD ( 13.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Baruch Siach , Ben Dooks , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ben Dooks Change the dc_timer function to be static as it is not used outside this driver. This fixes the following warning: drivers/clocksource/timer-digicolor.c:66:24: warning: symbol 'dc_timer' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Daniel Lezcano Acked-by: Baruch Siach --- drivers/clocksource/timer-digicolor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-digicolor.c b/drivers/clocksource/timer-digicolor.c index a536eeb..96bb222 100644 --- a/drivers/clocksource/timer-digicolor.c +++ b/drivers/clocksource/timer-digicolor.c @@ -63,7 +63,7 @@ struct digicolor_timer { int timer_id; /* one of TIMER_* */ }; -struct digicolor_timer *dc_timer(struct clock_event_device *ce) +static struct digicolor_timer *dc_timer(struct clock_event_device *ce) { return container_of(ce, struct digicolor_timer, ce); }