sandbox: Make map_to_sysmem() use a constant pointer
authorSimon Glass <sjg@chromium.org>
Thu, 7 Nov 2013 16:31:58 +0000 (09:31 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Nov 2013 23:54:26 +0000 (16:54 -0700)
commited072b96efd7a5de51cef01c3d4bed4db0e391f0
treee8cabd63bad138e36ce9531539deca401f54596e
parent370b6c5c4d764192399a220095a2dd1054314147
sandbox: Make map_to_sysmem() use a constant pointer

Very often a constant pointer is passed to this function, so we should
declare this, since map_to_sysmem() does not change the pointer.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/io.h
include/common.h