From patchwork Fri Mar 28 13:47:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 27290 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC2AD20062 for ; Fri, 28 Mar 2014 13:53:30 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf12074217pbc.8 for ; Fri, 28 Mar 2014 06:53:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=4yAL33AO12eSyS08hdq77Ad/BiEn48lH8a8NKTBP+a0=; b=gdByMsS6ldV2//0hAe91XjPnPG+wrsVkTi1VncapA+BbyUqJuTg6GNF1eSYpyUe4os D7az5NAZ5u9S4L78itrVCR0gEFJj7GneOYBqb88EsCxmjXhl5NdxFAPUw5+f/FflAyFk NVCcB2AGdYhOea4vS8HXliz2rKhmMwIVvJ/pZoVqEMCRiK8wjrRYhcz/bFE8sWwRjpdN xC+KzMSQkcvAtG6QCh8Z9oLHD/x1hyr+YJno2XVNbVIGLeNUSP6vnoTwWdAG41V8u2Mh 2dr6ya+WO+qr2/99CeeTjaJMegk4LKF8tbWHv4jZEnBt8rRrN/9o9ibXoXgQrdYHaWtE SAFQ== X-Gm-Message-State: ALoCoQnF9cFhYthCNiVIfHvdVHQygMxYaXhpLLkV1ywJv4vsB3vRMnT6vZ36pQnEVdRDRlGqPHic X-Received: by 10.66.159.36 with SMTP id wz4mr3171036pab.14.1396014809980; Fri, 28 Mar 2014 06:53:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.105.100 with SMTP id b91ls1426783qgf.26.gmail; Fri, 28 Mar 2014 06:53:29 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr7285595vcb.2.1396014809799; Fri, 28 Mar 2014 06:53:29 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id u5si1243972vdo.166.2014.03.28.06.53.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Mar 2014 06:53:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ik5so6066593vcb.0 for ; Fri, 28 Mar 2014 06:53:29 -0700 (PDT) X-Received: by 10.52.78.231 with SMTP id e7mr1274205vdx.28.1396014809698; Fri, 28 Mar 2014 06:53:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp10548vcv; Fri, 28 Mar 2014 06:53:29 -0700 (PDT) X-Received: by 10.180.97.37 with SMTP id dx5mr12806365wib.53.1396014808926; Fri, 28 Mar 2014 06:53:28 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id n6si2130485wiz.57.2014.03.28.06.53.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Mar 2014 06:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTXDc-0002G5-VA; Fri, 28 Mar 2014 13:53:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTXDa-0006Hq-HY; Fri, 28 Mar 2014 13:53:10 +0000 Received: from mail-ig0-f175.google.com ([209.85.213.175]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTXDX-0006GP-CR for linux-arm-kernel@lists.infradead.org; Fri, 28 Mar 2014 13:53:07 +0000 Received: by mail-ig0-f175.google.com with SMTP id ur14so836555igb.2 for ; Fri, 28 Mar 2014 06:52:46 -0700 (PDT) X-Received: by 10.42.129.9 with SMTP id o9mr7529743ics.38.1396014428807; Fri, 28 Mar 2014 06:47:08 -0700 (PDT) Received: from localhost.localdomain (c-71-195-31-37.hsd1.mn.comcast.net. [71.195.31.37]) by mx.google.com with ESMTPSA id gd5sm4902396igd.5.2014.03.28.06.47.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Mar 2014 06:47:08 -0700 (PDT) From: Alex Elder To: viresh.linux@gmail.com, shiraz.hashim@gmail.com Subject: [PATCH] ARM: spear: add __init to spear_clocksource_init() Date: Fri, 28 Mar 2014 08:47:29 -0500 Message-Id: <1396014449-31695-1-git-send-email-elder@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140328_095307_472592_FB3CB6CE X-CRM114-Status: GOOD ( 10.87 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.175 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: spear-devel@list.st.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: elder@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 I get a build warning because spear_clocksource_init() calls clocksource_mmio_init(), but it doesn't have an __init annotation. Fix that. Signed-off-by: Alex Elder --- arch/arm/mach-spear/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/time.c b/arch/arm/mach-spear/time.c index d449673..2560d92 100644 --- a/arch/arm/mach-spear/time.c +++ b/arch/arm/mach-spear/time.c @@ -71,7 +71,7 @@ static void clockevent_set_mode(enum clock_event_mode mode, static int clockevent_next_event(unsigned long evt, struct clock_event_device *clk_event_dev); -static void spear_clocksource_init(void) +static void __init spear_clocksource_init(void) { u32 tick_rate; u16 val;