diff options
author | John Keeping <john@metanate.com> | 2022-01-11 17:04:49 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-24 10:35:10 -0500 |
commit | e44d2f5df9baa9b604df4eaa4d42f89657170598 (patch) | |
tree | f87585b0a0c004dfb2ef1709bb9b2374ea3c39cb /boot/image-fit.c | |
parent | 6f08eee67fe93068ab501cc5f3094e480e76f4a9 (diff) | |
download | u-boot-e44d2f5df9baa9b604df4eaa4d42f89657170598.tar.gz u-boot-e44d2f5df9baa9b604df4eaa4d42f89657170598.tar.bz2 u-boot-e44d2f5df9baa9b604df4eaa4d42f89657170598.zip |
misc: mark write buffer const
The write operation in misc_ops already takes a "const void *" buffer,
but misc_write() takes a mutable "void *". There's no reason for this,
so make misc_write() consistent with the standard write() prototype.
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/image-fit.c')
0 files changed, 0 insertions, 0 deletions