shell: rename module sections

Prepare for supporting stand-alone commands.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-01-15 11:10:09 -05:00 committed by Anas Nashif
commit 8d1931504a
3 changed files with 16 additions and 12 deletions

View file

@ -86,7 +86,7 @@ struct shell_module {
#define SHELL_REGISTER_WITH_PROMPT(_name, _commands, _prompt) \
\
static struct shell_module (__shell__name) __used \
__attribute__((__section__(".shell_"))) = { \
__attribute__((__section__(".shell_module_"))) = { \
.module_name = _name, \
.commands = _commands, \
.prompt = _prompt \