commit | d657035efa36043141ecc67eb78c5f8de57d72dc | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Tue Jan 11 17:04:49 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 24 10:35:10 2022 -0500 |
tree | f87585b0a0c004dfb2ef1709bb9b2374ea3c39cb | |
parent | a522870478dc3c20db3eef13ae9cd117193128e7 [diff] |
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>