diff --git a/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c b/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c index 97a244c02ed..27c8402868c 100644 --- a/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c +++ b/samples/subsys/ipc/openamp_rsc_table/src/main_remote.c @@ -17,6 +17,7 @@ #include #include #include +#include #ifdef CONFIG_SHELL_BACKEND_RPMSG #include @@ -159,7 +160,7 @@ int platform_init(void) /* declare shared memory region */ metal_io_init(shm_io, (void *)SHM_START_ADDR, &shm_physmap, - SHM_SIZE, -1, 0, NULL); + SHM_SIZE, -1, 0, addr_translation_get_ops(shm_physmap)); /* declare resource table region */ rsc_table_get(&rsc_table, &rsc_size);