Message ID | 1428064923-24950-3-git-send-email-geert+renesas@glider.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 90305BF4A6 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Apr 2015 13:08:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B513F2038A for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Apr 2015 13:08:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 C76A4202BE for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 3 Apr 2015 13:08:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ye1IF-0007Kt-Kn; Fri, 03 Apr 2015 13:05:51 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ye1IA-0007KI-By for linux-arm-kernel@bombadil.infradead.org; Fri, 03 Apr 2015 13:05:46 +0000 Received: from wilson.telenet-ops.be ([195.130.132.42]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ye0vi-0001uz-JY for linux-arm-kernel@lists.infradead.org; Fri, 03 Apr 2015 12:42:35 +0000 Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) by wilson.telenet-ops.be (Postfix) with ESMTP id BF94735DA6 for <linux-arm-kernel@lists.infradead.org>; Fri, 3 Apr 2015 14:42:10 +0200 (CEST) Received: from ayla.of.borg ([84.193.93.87]) by albert.telenet-ops.be with bizsmtp id BQi11q01D1t5w8s06Qi1dD; Fri, 03 Apr 2015 14:42:10 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from <geert@linux-m68k.org>) id 1Ye0vB-0006AQ-G2; Fri, 03 Apr 2015 14:42:01 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from <geert@linux-m68k.org>) id 1Ye0vH-0006VG-05; Fri, 03 Apr 2015 14:42:07 +0200 From: Geert Uytterhoeven <geert+renesas@glider.be> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Magnus Damm <damm+renesas@opensource.se>, Arnd Bergmann <arnd@arndb.de>, Simon Horman <horms+renesas@verge.net.au>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH/RFC 2/6] staging: board: Initialize staging board code earlier Date: Fri, 3 Apr 2015 14:41:59 +0200 Message-Id: <1428064923-24950-3-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428064923-24950-1-git-send-email-geert+renesas@glider.be> References: <1428064923-24950-1-git-send-email-geert+renesas@glider.be> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150403_084234_778754_8CD1D7ED X-CRM114-Status: GOOD ( 10.72 ) X-Spam-Score: -1.9 (-) Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be>, linux-pm@vger.kernel.org, Marc Zyngier <marc.zyngier@arm.com>, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 |
diff --git a/drivers/staging/board/board.h b/drivers/staging/board/board.h index 2390ed6c31a42f2f..e9c914985d4acb36 100644 --- a/drivers/staging/board/board.h +++ b/drivers/staging/board/board.h @@ -15,6 +15,6 @@ static int __init runtime_board_check(void) \ return 0; \ } \ \ -late_initcall(runtime_board_check) +device_initcall(runtime_board_check) #endif /* __BOARD_H__ */
Currently the staging board code is initialized from a late_initcall(). However, unused PM domains are also disabled from a late_initcall(), which happens before due to link order. Change the initialization of staging board code from using late_initcall() to device_initcall() to fix this. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/staging/board/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)