From patchwork Thu Jun 5 05:15:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4303051 Return-Path: X-Original-To: patchwork-linux-sh@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 64F70BEEA7 for ; Thu, 5 Jun 2014 05:13:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6F09201F7 for ; Thu, 5 Jun 2014 05:13:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D803120179 for ; Thu, 5 Jun 2014 05:13:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754004AbaFEFNn (ORCPT ); Thu, 5 Jun 2014 01:13:43 -0400 Received: from mail-pb0-f49.google.com ([209.85.160.49]:44167 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752070AbaFEFNl (ORCPT ); Thu, 5 Jun 2014 01:13:41 -0400 Received: by mail-pb0-f49.google.com with SMTP id jt11so559975pbb.8 for ; Wed, 04 Jun 2014 22:13:41 -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=HOPWRJyxPLq4GiffwDYK7NIVldO9JzrUgmLYjxaiaimWeypz/TzH2ca68TKQhEpdMI Aw+ElRft+SoJ8RJ2zwNzVRC96ekwsz54Nsu3i+abvFKrhiDbGnYyIu7iFCmUxUaMJIuU BUyJTl4YbMb9H1FIznOW7ac0dmHUlRiyWdbASBHb65cPK6DUKJfOC0jR6b7Bx4HHqE9C XAS3Hk2nrYieysheW+Pq0o3+Ok6y94mGln8Vd+Z9BNsJ3mx0MKVKjxrB1YcOziW/n8kr Oy0Ri65AxAz1GebsOQiI8kIkQqSo1XCs2x5e9KzWOlfmYfKBFDqg9oPXpx+YQ9kzBrQJ 0ozg== X-Received: by 10.68.139.137 with SMTP id qy9mr72388079pbb.11.1401945221342; Wed, 04 Jun 2014 22:13:41 -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 bc4sm17730961pbb.2.2014.06.04.22.13.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jun 2014 22:13:40 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, keita.kobayashi.ym@renesas.com Date: Thu, 05 Jun 2014 14:15:44 +0900 Message-Id: <20140605051544.18075.12659.sendpatchset@w520> In-Reply-To: <20140605051505.18075.76727.sendpatchset@w520> References: <20140605051505.18075.76727.sendpatchset@w520> Subject: [PATCH 05/08] 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; }