From patchwork Mon Jun 19 22:25:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 778009 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ws5FK1y8Xz9s4s for ; Tue, 20 Jun 2017 08:27:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IcDayudP"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=9fPGIB4KUqJLzWpbgsYxMxHPMSkcbhOxewQxnx7Wv9w=; b=IcDayudPZofXfEDOQ8IBvFN3Bf eKfwdxRkLzTbjsg/c5LjX4jvBqBNuvkMbUOkOQSREztipmALDHCxnov/XKDFIPBpr5YtzCm56q2Ed 5NSuj3+o/I0UYHnI6R+g6JJdYjlONpjyOsiyeJp4sGszSu3yK6Nknn87uCIsiB+Ei3k/tryye9xxa 6BlMVsFDjl6JZt0tFMqzOjJu+0Iq6W1yRsb055yxL7+cMdtPxjS3TtwpLAnLSemhCVvUxwa/SNIuP NSicqM/7xcWDpfvzlhpr43G/s8nvpGJdfmk8kYBvF4C0jcLHUPrKvykDZjaBnO+L+PIumMQ55JvE2 N3JHx3EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dN58Z-0002yF-VF; Mon, 19 Jun 2017 22:27:11 +0000 Received: from hauke-m.de ([5.39.93.123] helo=mail.hauke-m.de) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dN58A-0002vB-Ix for linux-mtd@lists.infradead.org; Mon, 19 Jun 2017 22:26:48 +0000 Received: from hauke-desktop.lan (p4FD9730E.dip0.t-ipconnect.de [79.217.115.14]) by mail.hauke-m.de (Postfix) with ESMTPSA id B4E761001DE; Tue, 20 Jun 2017 00:26:23 +0200 (CEST) From: Hauke Mehrtens To: ralf@linux-mips.org Subject: [PATCH v4 01/16] MIPS: lantiq: Use of_platform_default_populate instead of __dt_register_buses Date: Tue, 20 Jun 2017 00:25:53 +0200 Message-Id: <20170619222608.13344-2-hauke@hauke-m.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170619222608.13344-1-hauke@hauke-m.de> References: <20170619222608.13344-1-hauke@hauke-m.de> X-Spam-Status: No, score=0.0 required=7.0 tests=UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on hauke-m.de X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170619_152646_783619_A73178B8 X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mips@linux-mips.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, martin.blumenstingl@googlemail.com, Hauke Mehrtens , linux-spi@vger.kernel.org, andy.shevchenko@gmail.com, linux-mtd@lists.infradead.org, p.zabel@pengutronix.de, john@phrozen.org, hauke.mehrtens@intel.com, robh@kernel.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Martin Blumenstingl This allows populating syscon devices which are using "simple-mfd" instead of "simple-bus". Signed-off-by: Hauke Mehrtens Signed-off-by: Martin Blumenstingl --- arch/mips/lantiq/prom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index 96773bed8a8a..9ff7ccde9de0 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c @@ -117,7 +117,7 @@ void __init prom_init(void) int __init plat_of_setup(void) { - return __dt_register_buses(soc_info.compatible, "simple-bus"); + return of_platform_default_populate(NULL, NULL, NULL); } arch_initcall(plat_of_setup);