diff options
author | Simon Glass <sjg@chromium.org> | 2020-01-27 08:49:38 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-05 19:33:45 -0700 |
commit | 194fca91306f1a35da404a9c56d767be257c8b0f (patch) | |
tree | 7d5202f78750029d008648e47d97e03b0b3f1a59 /include/fdtdec.h | |
parent | c4e72c4ad8b7c2db9c868bd053c25344b95900b8 (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 'include/fdtdec.h')
-rw-r--r-- | include/fdtdec.h | 2 |
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); /** |