sandbox: Drop 'const' from sandbox_write()
authorSimon Glass <sjg@chromium.org>
Fri, 11 Oct 2019 22:16:47 +0000 (16:16 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:41 +0000 (10:56 -0600)
commit8417385dc911f9ad049ae610b4e23557e890b353
tree44767a5c1baa37545d927c9708073d8258c03c77
parent91a8c95623af3aad1c9579f6ae9eff274d4c1b0a
sandbox: Drop 'const' from sandbox_write()

This function writes to its address so the address should not be declared
as const. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/cpu/cpu.c
arch/sandbox/include/asm/io.h