From patchwork Mon Feb 17 06:35:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3660231 Return-Path: X-Original-To: patchwork-linux-arm@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 C83719F2EC for ; Mon, 17 Feb 2014 06:42:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0ED2201F4 for ; Mon, 17 Feb 2014 06:42:11 +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 05E0E201EF for ; Mon, 17 Feb 2014 06:42:11 +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 1WFHn7-0007IS-NI; Mon, 17 Feb 2014 06:34:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFHmY-0000ld-6C; Mon, 17 Feb 2014 06:34:22 +0000 Received: from mail-pd0-x22d.google.com ([2607:f8b0:400e:c02::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFHmS-0000ko-Ut for linux-arm-kernel@lists.infradead.org; Mon, 17 Feb 2014 06:34:20 +0000 Received: by mail-pd0-f173.google.com with SMTP id y10so14433588pdj.18 for ; Sun, 16 Feb 2014 22:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=CvQLf4e+5dyGAFqc+e+5Coxy+8RnAr9/nF0xPP0DGjw=; b=MfYe1XUaphHQWvSWy2/bsVm45yVn/NbtgqLLDGrlE5I1qqzGn1whB1KRYhxl5FJ4vj rWZD1Rbq9TLtubgaeWMTI3pDN3MnRl38tx0eI+fWogADwjM/2CpF+MoOakT4/sOzQQKQ Akct8wphQeYlZGLm5Mj+LlECtfWoGUrzDZbrfNoD4C2zXcuHtQMITRGhGi2m4Ah0ZR8a Nf65zlAbbgMnTc6TBSgXHusg+VhAY8CuFqbnbZusZWXCaMcNWVFSeKF1K/rJbFXTMW7u 6fWq9t6yEknsVqw5bfgfRVSczHtorRuUcthLPtFzrQMdrpnJpO02ZrOxVgVUQVksHnBe iPRA== X-Received: by 10.66.13.138 with SMTP id h10mr1551614pac.148.1392618835326; Sun, 16 Feb 2014 22:33:55 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id yo9sm109536529pab.16.2014.02.16.22.33.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Feb 2014 22:33:54 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 17 Feb 2014 15:35:10 +0900 Message-Id: <20140217063510.21892.52120.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Remove __init from rcar_gen2_read_mode_pins() X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140217_013417_077288_47AABDFC X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: geert@linux-m68k.org, horms@verge.net.au, Magnus Damm , 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.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Magnus Damm Remove __init from rcar_gen2_read_mode_pins() to allow it to be used after boot. For instance the R-Car Gen2 MD21 check is needed even in the case of CPU Hotplug. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven --- Written against renesas-devel-v3.14-rc2-20140213 arch/arm/mach-shmobile/setup-rcar-gen2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0001/arch/arm/mach-shmobile/setup-rcar-gen2.c +++ work/arch/arm/mach-shmobile/setup-rcar-gen2.c 2014-02-17 15:02:48.000000000 +0900 @@ -28,7 +28,7 @@ #define MODEMR 0xe6160060 -u32 __init rcar_gen2_read_mode_pins(void) +u32 rcar_gen2_read_mode_pins(void) { void __iomem *modemr = ioremap_nocache(MODEMR, 4); u32 mode;