aboutsummaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorSimon Glass2020-01-27 08:49:38 -0700
committerSimon Glass2020-02-05 19:33:45 -0700
commit194fca91306f1a35da404a9c56d767be257c8b0f (patch)
tree7d5202f78750029d008648e47d97e03b0b3f1a59 /lib/fdtdec.c
parentc4e72c4ad8b7c2db9c868bd053c25344b95900b8 (diff)
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 'lib/fdtdec.c')
-rw-r--r--lib/fdtdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 17051d409c4..7fbb4c7ddc4 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -224,7 +224,7 @@ int fdtdec_get_pci_vendev(const void *blob, int node, u16 *vendor, u16 *device)
return -ENOENT;
}
-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)
{
int barnum;