memory_region: add static/const for read only instance
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
d49db03e04
commit
91cb625f9d
|
@ -53,7 +53,7 @@
|
|||
#define BUFSIZE CONFIG_LIB_GDBSTUB_PKTSIZE
|
||||
|
||||
#ifdef CONFIG_BOARD_MEMORY_RANGE
|
||||
FAR const struct memory_region_s g_memory_region[] =
|
||||
static const struct memory_region_s g_memory_region[] =
|
||||
{
|
||||
CONFIG_BOARD_MEMORY_RANGE
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue