From: Simon Glass Date: Mon, 21 Jan 2019 18:12:44 -0700 Subject: [U-Boot] [PATCH 07/33] pci: Fix comment in struct pci_child_platdata In-Reply-To: <20190122011310.186491-1-sjg@chromium.org> References: <20190122011310.186491-1-sjg@chromium.org> Message-ID: <20190122011310.186491-8-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is platdata, not private data, so the comment is currently incorrect. Fix it to avoid confusion. Signed-off-by: Simon Glass --- include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pci.h b/include/pci.h index ffd796becf..1762518848 100644 --- a/include/pci.h +++ b/include/pci.h @@ -822,7 +822,7 @@ struct udevice; * * Every device on a PCI bus has this per-child data. * - * It can be accessed using dev_get_parent_priv(dev) if dev->parent is a + * It can be accessed using dev_get_parent_platdata(dev) if dev->parent is a * PCI bus (i.e. UCLASS_PCI) * * @devfn: Encoded device and function index - see PCI_DEVFN() -- 2.20.1.321.g9e740568ce-goog