These functions do not modify the device so should use a const pointer to it. Update the code accordingly.
Signed-off-by: Simon Glass <s...@chromium.org> --- drivers/core/read.c | 97 +++++++++++---------- include/dm/read.h | 205 +++++++++++++++++++++++--------------------- 2 files changed, 159 insertions(+), 143 deletions(-) Applied to u-boot-dm, thanks!