summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-01-27 18:49:38 +0300
committerSimon Glass <sjg@chromium.org>2020-02-06 05:33:45 +0300
commit194fca91306f1a35da404a9c56d767be257c8b0f (patch)
tree7d5202f78750029d008648e47d97e03b0b3f1a59 /include/fdtdec.h
parentc4e72c4ad8b7c2db9c868bd053c25344b95900b8 (diff)
downloadu-boot-194fca91306f1a35da404a9c56d767be257c8b0f.tar.xz
dm: pci: Update a few more interfaces for const udevice *
Tidy up a few places where const * should be used. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index c8a143db5f..166f29c55b 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -441,7 +441,7 @@ int fdtdec_get_pci_vendev(const void *blob, int node,
* @param bar returns base address of the pci device's registers
* @return 0 if ok, negative on error
*/
-int fdtdec_get_pci_bar32(struct udevice *dev, struct fdt_pci_addr *addr,
+int fdtdec_get_pci_bar32(const struct udevice *dev, struct fdt_pci_addr *addr,
u32 *bar);
/**