From patchwork Mon Jun 11 15:24:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9198 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 5016223EB4 for ; Mon, 11 Jun 2012 15:25:36 +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 202D7A186CC for ; Mon, 11 Jun 2012 15:25:36 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so2858474yhp.11 for ; Mon, 11 Jun 2012 08:25:35 -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=y/KT/gsYz4adkncT5LfwdNBbj0lpwmZLL8V51KABnVQ=; b=m05XOpOdjD8HRWKxeOlzC37mMdfxVtFrr74uxhj+RJ1ND5vWzeMhpzCQR79TlN91nT 8i/B/sH2iqQOYsdOnIZiFBp0Z0jC28ERI5uJTUmwoE8hFgeLNFb3ZCDatTUypYJ0gWIK I79flmbrk45vLtoDsjxGNlAigWgPWXmL/S7JeaX2kqk93EcvFg/He8KZ3ExmHFdSitt0 PKqAtCf4+i9tNHhYMAlqSXoxERq8MUJywB+S+S8STXlxVfY60Ard2iapGBkghMBx3Hq9 tMjguGB5/6JFLxTwwus+OtyZ9cHu7ThDUabW7sgkc4qgLnHbRLJC9q9Er3PRGv29wsA6 gjhw== Received: by 10.50.46.232 with SMTP id y8mr6524615igm.57.1339428335603; Mon, 11 Jun 2012 08:25:35 -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 v20csp115727ibb; Mon, 11 Jun 2012 08:25:34 -0700 (PDT) Received: by 10.216.228.98 with SMTP id e76mr6256997weq.150.1339428334436; Mon, 11 Jun 2012 08:25:34 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id a59si24387284wel.52.2012.06.11.08.25.34 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:34 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 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-wg0-f50.google.com with SMTP id ds11so3345557wgb.31 for ; Mon, 11 Jun 2012 08:25:34 -0700 (PDT) Received: by 10.180.95.137 with SMTP id dk9mr21730277wib.1.1339428333896; Mon, 11 Jun 2012 08:25:33 -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.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:32 -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 06/14] mfd: Initialise the DB8500 PRCMU driver at core_initcall time Date: Mon, 11 Jun 2012 16:24:59 +0100 Message-Id: <1339428307-3850-7-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: ALoCoQmuUuGCE6feZInhxMcM1OpDJgjemzT5+2uXhm8EruXApexIKpOOetWzYcX6RLzfISorcFX2 Now the AB8500 has its own IRQ domain it needs to be initialised earlier in the boot sequence. As the AB8500 relies on the DB8500 PRCMU we need to reflect this change for the PRCMU driver too. Cc: Samuel Ortiz Signed-off-by: Lee Jones --- drivers/mfd/db8500-prcmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index c702f18..1aa0bb7 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -3023,7 +3023,7 @@ static int __init db8500_prcmu_init(void) return platform_driver_register(&db8500_prcmu_driver); } -arch_initcall(db8500_prcmu_init); +core_initcall(db8500_prcmu_init); MODULE_AUTHOR("Mattias Nilsson "); MODULE_DESCRIPTION("DB8500 PRCM Unit driver");