From patchwork Thu May 17 13:45:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 8751 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 38D3E23E23 for ; Thu, 17 May 2012 13:46:54 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 08DAEA183E2 for ; Thu, 17 May 2012 13:46:53 +0000 (UTC) Received: by ggnf1 with SMTP id f1so2182690ggn.11 for ; Thu, 17 May 2012 06:46:53 -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=bgQZU+KUW5x8lWf5TWizJUddQYuHXpJnOyzuLaXMlGQ=; b=AdmYbI056LBbASvxD0F+G+9S+wbjVaFO2RJ9A3Ig6lLaZhyJilMc3ZC3wR9MtdyPxU 11+rDrv+Ui5xI5zKHSQoxd8d+8cWLhLNIphe5BibX0Bw3Z4FmSp1yQ5GoTF22CN83vkj p5BjGsRZ/AgrSEupqlnrGaqa2E5/oGPO0KUtkqAenD9eJ1SYKOuCA+ISAY0oR7QajvV8 ei9kbedjHkM/PuDbMPRWw3GOdVYLsCmp5IavDjEfPub0+b8Q7dGhUjyJ05DJZjTV48FF nRT1UimBBLduH9L+/J7c/aTouWfsF3J6wDAqtRzHtur6e5s1x/8vRyMn88+IeiTdEwyq tYGw== Received: by 10.50.87.227 with SMTP id bb3mr5331853igb.57.1337262413208; Thu, 17 May 2012 06:46:53 -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.35.72 with SMTP id o8csp29054ibd; Thu, 17 May 2012 06:46:52 -0700 (PDT) Received: by 10.213.14.138 with SMTP id g10mr467863eba.27.1337262411995; Thu, 17 May 2012 06:46:51 -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 d3si7393850wed.115.2012.05.17.06.46.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 06:46:51 -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 e53so1560530wer.37 for ; Thu, 17 May 2012 06:46:51 -0700 (PDT) Received: by 10.180.107.101 with SMTP id hb5mr18617321wib.7.1337262411451; Thu, 17 May 2012 06:46:51 -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 h8sm21166277wix.4.2012.05.17.06.46.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 06:46:50 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com Cc: Lee Jones Subject: [PATCH 14/18] mfd: Enable ab8500-debug when Device Tree is enabled Date: Thu, 17 May 2012 14:45:19 +0100 Message-Id: <1337262323-27692-15-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1337262323-27692-1-git-send-email-lee.jones@linaro.org> References: <1337262323-27692-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkCPuQKImpH7vgU0VzmbojbaENfbePZr4XXPnCreDN/Te+MEDSnALNR9xQ4YN8qghu/NASn Allow the ab8500-debugfs driver to be probed during DT start-up. Signed-off-by: Lee Jones --- drivers/mfd/ab8500-debugfs.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index 9a0211a..50c4c89 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -608,10 +608,16 @@ static int __devexit ab8500_debug_remove(struct platform_device *plf) return 0; } +static const struct of_device_id ab8500_debug_match[] = { + { .compatible = "stericsson,ab8500-debug", }, + {} +}; + static struct platform_driver ab8500_debug_driver = { .driver = { .name = "ab8500-debug", .owner = THIS_MODULE, + .of_match_table = ab8500_debug_match, }, .probe = ab8500_debug_probe, .remove = __devexit_p(ab8500_debug_remove)