trace: Remove the const from write functions
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:57 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 11 Oct 2019 09:37:19 +0000 (17:37 +0800)
commit9859dc76e784fb35e99a7c521a3bb2bfe2e6bc38
treeefd53f38bc822e3f68a688b86ce0f88198f9940b
parent6498fda140f526f82f87e057afb61ca23904770f
trace: Remove the const from write functions

The write functions do actually change the contents of memory so it is not
correct to use 'const'. Remove it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/iotrace.c
include/iotrace.h