From patchwork Tue Apr 8 22:34:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 3951601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CACD6BFF02 for ; Tue, 8 Apr 2014 22:34:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A00A200B4 for ; Tue, 8 Apr 2014 22:34:46 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F054A20499 for ; Tue, 8 Apr 2014 22:34:44 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXebF-0005wF-9x; Tue, 08 Apr 2014 22:34:37 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXebC-00029e-Ug; Tue, 08 Apr 2014 22:34:34 +0000 Received: from mail-ie0-f181.google.com ([209.85.223.181]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXebA-00028u-Md for linux-arm-kernel@lists.infradead.org; Tue, 08 Apr 2014 22:34:33 +0000 Received: by mail-ie0-f181.google.com with SMTP id tp5so1568046ieb.26 for ; Tue, 08 Apr 2014 15:34:11 -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; bh=kF1eLog8jY9xTD4YEs7s7Tyz8wARiU184Q9YFG0UbLo=; b=QPMu9XiiGJZ5coUcjeEZVzj6XELIXYMEBgK/wojvIi5qqsSE1e4aDQ/VmbQn18lNp8 +O+rcSyIfYHLxsz4Hihfq7U3wpp67mTBXzvHlOCZ4OYrP7buo7JpLUgGAeBhOp4ZRJFD DsyZQfluGpXkTLY0rB59fi6Li+GEmkgmOZ2+aa03pEKYx0zrUrAcjG0FJ7WO3sSGZkFV cPaNWdoiFhK3yk8cvNW29+qkqMljbZlZKFNh17nA66EdpW2VXGQJ1Kpi4FYI8IJy8oH+ wFksB2njo0Tu7nSX24bucRhh7O1nJYFmTjOk+YrIuKpdX/L9jVxWRbDsGYivrhfF7KGb 8Kig== X-Gm-Message-State: ALoCoQlBMykgT5jc4h6h1B5LN5VL6e5eO0BSKE7nyFQa/6AFm1/KBO7aBZXAlvkX1eD5czUhy9/9 X-Received: by 10.50.22.210 with SMTP id g18mr1237280igf.19.1396996451808; Tue, 08 Apr 2014 15:34:11 -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 b6sm202903igm.2.2014.04.08.15.34.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 15:34:11 -0700 (PDT) From: Alex Elder To: viresh.linux@gmail.com, shiraz.hashim@gmail.com Subject: [PATCH RESEND] ARM: spear: add __init to spear_clocksource_init() Date: Tue, 8 Apr 2014 17:34:45 -0500 Message-Id: <1396996485-632-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-20140408_183432_867182_F8571972 X-CRM114-Status: GOOD ( 11.60 ) X-Spam-Score: -2.6 (--) Cc: vk.vipin@gmail.com, spear-devel@list.st.com, linux-kernel@vger.kernel.org, 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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 Acked-by: Viresh Kumar --- 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 218ba5b..c4d0931 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;