doc: fix name of DEFINE_MEM_MAP in documentation

Documentation is using an incorrect name for the macro available to
allocate memory maps.

Change-Id: Ic2a93d3851219cb91f3c9c01e2aa19e38913abdd
Signed-off-by: Rohit Grover <rohit.grover@arm.com>
This commit is contained in:
Rohit Grover 2016-10-20 14:12:07 +01:00 committed by Anas Nashif
commit d3a743e96f

View file

@ -89,7 +89,7 @@ Define the memory map in a source file using the following syntax:
.. code-block:: c
DEFINE_MEMORY_MAP(name, num_blocks, block_size);
DEFINE_MEM_MAP(name, num_blocks, block_size);
Example: Defining a Memory Map, Referencing it from Elsewhere in the Application
@ -99,7 +99,7 @@ This code defines a private memory map named ``PRIV_MEM_MAP``:
.. code-block:: c
DEFINE_MEMORY_MAP(PRIV_MEM_MAP, 6, 200);
DEFINE_MEM_MAP(PRIV_MEM_MAP, 6, 200);
To reference the map from a different source file, use the following syntax: