From patchwork Fri Jun 6 07:20:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4310181 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E6FD19F387 for ; Fri, 6 Jun 2014 07:18:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 310D7201D3 for ; Fri, 6 Jun 2014 07:18:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58E32201C7 for ; Fri, 6 Jun 2014 07:18:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752550AbaFFHSo (ORCPT ); Fri, 6 Jun 2014 03:18:44 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:53318 "EHLO mail-qg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847AbaFFHSn (ORCPT ); Fri, 6 Jun 2014 03:18:43 -0400 Received: by mail-qg0-f46.google.com with SMTP id q108so3511305qgd.5 for ; Fri, 06 Jun 2014 00:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=OfaTXdOX9GzalvRenMzzeHr8ZJXKlImq7f9xErFTyA4=; b=zNoVMvT+b82Sdo4y0Edo55eBqbvGAQUay6UveElUm9uJUOkzUteBMHXgJiJr8Kq+LY PY/TR6aMC0FmtGJcOal30HDQMWDoHNkM4TzfdjMnqJmIs0B2Fq0YvgzlbpWedXCiDURg b8yNZU5rGdHqbXZV4G4hEQAjF0epxSSKDR9CBgLBHWO5aH1+PLu5YsD8jozx6Uobe1SH loYZOEmqGw4uiLJ1pGggQ0r0MKKieJNn6z5me5n0Oep14axSKOBW9DkdF66oAPkLjMk7 0FXMk//WEYkipcPhl8F4KJuY3Lc1ic0mUGZykSiD3JqicvKwgJTW36/Gel76OjQ6MjxN iv1w== X-Received: by 10.140.50.2 with SMTP id r2mr5174015qga.96.1402039122656; Fri, 06 Jun 2014 00:18:42 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id sv10sm31994491pbc.74.2014.06.06.00.18.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jun 2014 00:18:41 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, geert@linux-m68k.org, keita.kobayashi.ym@renesas.com Date: Fri, 06 Jun 2014 16:20:46 +0900 Message-Id: <20140606072046.14868.48936.sendpatchset@w520> In-Reply-To: <20140606072010.14868.5474.sendpatchset@w520> References: <20140606072010.14868.5474.sendpatchset@w520> Subject: [PATCH v2 03/07] ARM: shmobile: Use __init for APMU suspend init function Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Magnus Damm The function shmobile_smp_apmu_suspend_init() should be put into the init section to not trigger section mismatch warnings. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/platsmp-apmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0003/arch/arm/mach-shmobile/platsmp-apmu.c +++ work/arch/arm/mach-shmobile/platsmp-apmu.c 2014-06-05 12:51:33.000000000 +0900 @@ -240,7 +240,7 @@ static int shmobile_smp_apmu_enter_suspe return 0; } -void shmobile_smp_apmu_suspend_init(void) +void __init shmobile_smp_apmu_suspend_init(void) { shmobile_suspend_ops.enter = shmobile_smp_apmu_enter_suspend; }