]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Use const device for the devfdt...() interface
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:39 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commit0644df17383ef7a0b6a3f5f5d4e63394603644cd
tree48f5f8d14d0cd8646244d33b22bc0f3d7899ed8f
parentaa35d5882c5635b0d60914188be061bbfd1c53ce
dm: core: Use const device for the devfdt...() interface

These functions do not modify the device so should use a const pointer to
it. Update the code accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/fdtaddr.c
include/dm/fdtaddr.h