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: 28054 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E36F720447 for ; Tue, 8 Apr 2014 22:34:23 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id wp18sf6989416obc.0 for ; Tue, 08 Apr 2014 15:34:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=mtXbJ6P3OBf+aOP8DXDa7idDtHl5dU2WelHZBK2OXvQ=; b=laPC0YwGtXbIZhub/QcJoJ3ZqWszG/XsGS9CG1Z9RkNvX7GBcOjtYx5dqXuOvfyd5r elVK4r0ixve9oXSFuED/TQnZL5tYLIFa6w7YcWy/4hdM77u06GFfaGY8SUdH80j28L+L mlHe3wntGJho6mGjRkIacdnEBmpvUBfkgwBR7WoFSlTI7Xi+7zDJmYQBBaetXlYoydtQ ZCckmmPb2R7nd/whz5elBxZizBumfvgkuDImyt6DODiPr0QUo5BKgzu6rtZl+Z0UoLRB l1E0LKExf6eO79lH48vqtwt9mQDc3mxZanS5Ae28eRek/sc36JiH13rM0UyFnZZgMv5Z oHcg== X-Gm-Message-State: ALoCoQmGqFfmyM6L+myLEjRMDvvHYHiyl0gOfA0KrDparSUT3Rf0XwVMCiX9ghB2zApZAg3wyExO X-Received: by 10.182.33.161 with SMTP id s1mr3248728obi.12.1396996463342; Tue, 08 Apr 2014 15:34:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.199 with SMTP id h65ls388065qgh.56.gmail; Tue, 08 Apr 2014 15:34:23 -0700 (PDT) X-Received: by 10.220.170.202 with SMTP id e10mr5427878vcz.20.1396996463167; Tue, 08 Apr 2014 15:34:23 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id rx9si666015vcb.63.2014.04.08.15.34.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 15:34:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so1371435veb.20 for ; Tue, 08 Apr 2014 15:34:23 -0700 (PDT) X-Received: by 10.58.107.65 with SMTP id ha1mr5463947veb.1.1396996463064; Tue, 08 Apr 2014 15:34:23 -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 v8csp282356vcv; Tue, 8 Apr 2014 15:34:22 -0700 (PDT) X-Received: by 10.66.156.164 with SMTP id wf4mr7735099pab.138.1396996462169; Tue, 08 Apr 2014 15:34:22 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si1708258pbc.372.2014.04.08.15.34.21; Tue, 08 Apr 2014 15:34:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757298AbaDHWeN (ORCPT + 27 others); Tue, 8 Apr 2014 18:34:13 -0400 Received: from mail-ig0-f176.google.com ([209.85.213.176]:64993 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756232AbaDHWeM (ORCPT ); Tue, 8 Apr 2014 18:34:12 -0400 Received: by mail-ig0-f176.google.com with SMTP id uy17so5718036igb.9 for ; Tue, 08 Apr 2014 15:34:11 -0700 (PDT) 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 Cc: spear-devel@list.st.com, vk.vipin@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.128.175 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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;