From patchwork Mon Jun 11 15:24:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9197 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 9D6F623EB4 for ; Mon, 11 Jun 2012 15:25:34 +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 5E615A18191 for ; Mon, 11 Jun 2012 15:25:34 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so2858474yhp.11 for ; Mon, 11 Jun 2012 08:25:34 -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=ndL5zSX/EvpAIlWEW53+Q0rrps8Cbs/ZhWP45BhjGLg=; b=doPzXYx3jQoDOaAW9JVGW8EnBRGmrPQyZ2m8V3iymtpH0Mk6+u57PzFr4qDyD8UoO3 lGJTOi5J5hgBzW6LpJN472aYKhkSUrYbkxFyuOxz6YLMCpDuHiiyeSL6r6I4E8i9k52v +B/NM4I0roMG/tUk+5hCtO/ukhBkFD2/s53GO2J7g9lp8W3PhuQ5So89C+kld6oqGn8+ EWhoScK5ZJwuHGQvX9UBuxvUhYWbsSsPEgqb8mhU1KHJPKkjsLJfiJFiqigcD/TxsCkc IMdsrkth4amoqKgcadWLsHxXw6eR04zd1jBZS2esHOB0AojPNLbWL9yShpwPn/q1ZiwZ GVMw== Received: by 10.50.160.198 with SMTP id xm6mr6674485igb.0.1339428333914; Mon, 11 Jun 2012 08:25:33 -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 v20csp115725ibb; Mon, 11 Jun 2012 08:25:33 -0700 (PDT) Received: by 10.180.88.194 with SMTP id bi2mr21738950wib.20.1339428332609; Mon, 11 Jun 2012 08:25:32 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id eu2si16955643wib.8.2012.06.11.08.25.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.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-wi0-f178.google.com with SMTP id hn6so2491211wib.13 for ; Mon, 11 Jun 2012 08:25:32 -0700 (PDT) Received: by 10.216.202.170 with SMTP id d42mr6310766weo.83.1339428327833; Mon, 11 Jun 2012 08:25:27 -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.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:26 -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 05/14] mfd: Enable DT probing of the DB8500 PRCMU Date: Mon, 11 Jun 2012 16:24:58 +0100 Message-Id: <1339428307-3850-6-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: ALoCoQlzNjC1eu3gRaMiJsrPUQXIIV6cOuxYmj9iMB44mx+K0CJpFMYfCKSj9RcTxXxKVbEX8EA1 This patch adds the correct compatible string for use during Device Tree population. Without it the DB8500 PRCMU will not be probed. Cc: Samuel Ortiz Signed-off-by: Lee Jones --- drivers/mfd/db8500-prcmu.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 50e83dc5..c702f18 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -3004,11 +3004,16 @@ static int __devinit db8500_prcmu_probe(struct platform_device *pdev) no_irq_return: return err; } +static const struct of_device_id db8500_prcmu_match[] = { + { .compatible = "stericsson,db8500-prcmu", }, + { }, +}; static struct platform_driver db8500_prcmu_driver = { .driver = { .name = "db8500-prcmu", .owner = THIS_MODULE, + .of_match_table = db8500_prcmu_match, }, .probe = db8500_prcmu_probe, };