From patchwork Mon Jun 11 15:25:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9199 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 1377F23EB4 for ; Mon, 11 Jun 2012 15:25:38 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id D76E0A186CE for ; Mon, 11 Jun 2012 15:25:37 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so2858474yhp.11 for ; Mon, 11 Jun 2012 08:25:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=c0w0aq+gxFzytAeOO+hQdqBGKBEO+xTO/6xCXEqw5lo=; b=YJCeDK7U81TGhQwKYImrlwD2n9mDf1sTF57UofFY+hMZdEbAZCKllRci1KyjFF9dFY UT6Umwr2msxYMEIBz1itLzqgqeHE+xutRjwTcd6B5zqre7u9d4DAQrfV4x8kPnVjIlca S+56GzD6L9pu6AF1YpX3jjyCS2UHz16vLhdtHGRjmnbJPqa9WRqnD3DTFr39fqwKmKpW EIk39lVntm4PxEy9xpQr6Rl/dfYx20J8dnRC4gDa8NqAc14PCDwxXISmpIFixheH28/9 Ikcego6ttfzMBrVybuU0wx76OT1kSRNS0B1/aukcyCtgOqgVWNClJEkQOzh9be8834xI EUnw== Received: by 10.50.40.193 with SMTP id z1mr6701683igk.0.1339428337321; Mon, 11 Jun 2012 08:25:37 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp115732ibb; Mon, 11 Jun 2012 08:25:36 -0700 (PDT) Received: by 10.204.143.138 with SMTP id v10mr10335813bku.40.1339428336159; Mon, 11 Jun 2012 08:25:36 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id h46si11093593wed.105.2012.06.11.08.25.35 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:36 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-we0-f178.google.com with SMTP id e53so2963103wer.37 for ; Mon, 11 Jun 2012 08:25:35 -0700 (PDT) Received: by 10.216.150.140 with SMTP id z12mr6618752wej.68.1339428335554; Mon, 11 Jun 2012 08:25:35 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id ch9sm39413606wib.8.2012.06.11.08.25.33 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:34 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@stericsson.com, arnd@arndb.de, grant.likely@secretlab.ca, Lee Jones , Samuel Ortiz Subject: [PATCH 07/14] mfd: Initialise the AB8500 driver at core_initcall time Date: Mon, 11 Jun 2012 16:25:00 +0100 Message-Id: <1339428307-3850-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> References: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkPxOgAwY0lSClukXqDuVOb9n6HW8Ag0E3WOxjp9cesKx5clT/zLAB3RBwkRXzUibAKXrJE The AB8500 is soon to have its own IRQ domain. For this to be useful the driver needs to be initialised earlier in the boot sequence. Here we move initialisation forward from arch_initcall to core_initcall time. Cc: Samuel Ortiz Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index dac0e29..4dc5024 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1484,7 +1484,7 @@ static void __exit ab8500_core_exit(void) { platform_driver_unregister(&ab8500_core_driver); } -arch_initcall(ab8500_core_init); +core_initcall(ab8500_core_init); module_exit(ab8500_core_exit); MODULE_AUTHOR("Mattias Wallin, Srinidhi Kasagar, Rabin Vincent");