commit | c92aac100c17b9872eef6249ab66b39069afeffa | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jan 27 08:49:38 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 05 19:33:45 2020 -0700 |
tree | 7d5202f78750029d008648e47d97e03b0b3f1a59 | |
parent | 2a311e8201d38a975277ba931e750b2217885da9 [diff] [blame] |
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>
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 17051d4..7fbb4c7 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c
@@ -224,7 +224,7 @@ 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;