From patchwork Fri Oct 13 07:41:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 115708 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp428398qgn; Fri, 13 Oct 2017 00:41:34 -0700 (PDT) X-Received: by 10.98.79.80 with SMTP id d77mr612120pfb.238.1507880494013; Fri, 13 Oct 2017 00:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507880494; cv=none; d=google.com; s=arc-20160816; b=N6RfnKLJcSQze8BSOx5flqJrFD+7vILsGLAtJAeegU+9/z/PFUfAz3JfPilkYOUuqH m9hg83fumNUHZhugDGTBLwViExC1KB6J8bbTXxLl5seT5v8iN4E8OLxgYcA3Z03ltdwo iAsaL7wu7fI0NP+Zt3/qXzBgdpTxY406y2cs2vFsrVnQcW9C2plO0YDUV64gZaEShX79 clvCGA/5CZM/6YVVfbM9UBc4T8CedpnSTdAJGmYr/1Tfr5k5ZnTsdeZzW0jCH4Ck4xoo zVdDcSLpOuYyUsPVow4POycuhuK5P94VP4hW2vJ/yzWila6JolCZkVzuRle46graRr9/ mh4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Pzxk1F784Tmcf28FfRobtmIgsztKG05l3MZsEkVPnOM=; b=Eln7/BKNMyvZwocyHeMMzq7szVGwsi+RKiYU6h/BkNyhZ8+ywpAmaKMKmo9AVY4t2o LwsIQg83fRfsnUUEktabE8MwzpeY2FrQ0XFlJ6WKZqmgFKNre2JfwSdxjxSAKr9gSfxk 39svopLDxPw+zLC0d9oBbg69Ba2mnFrG0cyhGqe/IM1Um+t5HvP9Taia+aaEsWQvSvUx IyrTXgLcs5wZ2VjEAbuGjV4j089HYiBSz+7BLl9vZ5EYykMT86ZX+ZOTFT9tccXTmLE3 MflsoYMoBu8MBi0tIMSDkKQm7KBV2qkBT6oYguPt7hFtSPVYV/zjQxokXJ1bxXg3erik yMqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=krfxEAVv; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si267417pls.291.2017.10.13.00.41.33; Fri, 13 Oct 2017 00:41:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=krfxEAVv; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756659AbdJMHlc (ORCPT + 6 others); Fri, 13 Oct 2017 03:41:32 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:56968 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751901AbdJMHlb (ORCPT ); Fri, 13 Oct 2017 03:41:31 -0400 Received: by mail-pf0-f176.google.com with SMTP id b85so8876268pfj.13 for ; Fri, 13 Oct 2017 00:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=m45uPGSUmYh04l0bp9/gy+Zr2oQckK1vLJAoHPMhOqc=; b=krfxEAVvvjNXhDNnCeUfTn3+crtdEI/7o8PYnT9zyz4oA9Ad+CZEM/HIXnJyA31l/3 E8T9WHz2GMODuTxFl1Mrn8HNvXwdLdMuEoFBgG3MkscMK1IFVSWQzRJKgdd042THWA4F T7TLPYUWMMw3KXsStH/3lA5Y+2tc2hlyWX8KI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=m45uPGSUmYh04l0bp9/gy+Zr2oQckK1vLJAoHPMhOqc=; b=cZvedu4nWxjPh6OjFvrJCKDShN4Pp+jt5a9nQL35R0DN4pYcK31czUNPWyq75JLjUx 32dZgZNQAGQh6rd1vU23wwJoDEJ1/MZthrAZg4h6g/rXuYPQHMssxTC0zR9zwqiykKUR 7wX232U5yydQQnQ3LqXOiEoYebBKlgBMaH5ap4T7e0wcOz26lhRZ40y2YHn9OT+F3rSX Y9Jul5maUt6koGQPsrtXNxJ+J2T3DeS1CJZr49REThWjHYq5XAmYt3FExz/BGLmcEZpY denwdejFSk3S21bOwsPMhW8pxHqGmsZSHWZGyDqUB9CJYRl5JW/i+sefImnN2PlUEjC6 mRmg== X-Gm-Message-State: AMCzsaWjs9uSc0mRYKRlJ8jSHnw1kxterB9mf5DI2zwv5q46S0xZ8CKt ZBPGdqHgVNjdCgclXikJY6Ftgg== X-Google-Smtp-Source: AOwi7QBuIB8Y0g07t4DrklSHnu04dK/g2SfI5PlyxLiwzKFQYKFHaLopZY93kFSlTWGAveGmdEEE8Q== X-Received: by 10.159.252.201 with SMTP id o9mr619736pls.135.1507880491414; Fri, 13 Oct 2017 00:41:31 -0700 (PDT) Received: from localhost.localdomain (ip72-199-124-160.sd.sd.cox.net. [72.199.124.160]) by smtp.gmail.com with ESMTPSA id l189sm1414899pga.24.2017.10.13.00.41.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Oct 2017 00:41:30 -0700 (PDT) From: Stephen Boyd To: Rob Herring , Frank Rowand Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] of/fdt: Document detached argument to __unflatten_device_tree() Date: Fri, 13 Oct 2017 00:41:29 -0700 Message-Id: <20171013074129.13109-1-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.14.GIT Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This wasn't documented. Signed-off-by: Stephen Boyd --- drivers/of/fdt.c | 1 + 1 file changed, 1 insertion(+) -- 2.14.GIT -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Frank Rowand diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index ce30c9a588a4..4ea4dad13707 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -467,6 +467,7 @@ static int unflatten_dt_nodes(const void *blob, * @mynodes: The device_node tree created by the call * @dt_alloc: An allocator that provides a virtual address to memory * for the resulting tree + * @detached: if true set OF_DETACHED on @mynodes * * Returns NULL on failure or the memory chunk containing the unflattened * device tree on success.