summaryrefslogtreecommitdiff
path: root/configs/T1024RDB_SPIFLASH_defconfig
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@bootlin.com>2019-01-17 10:18:47 +0100
committerTom Rini <trini@konsulko.com>2019-01-18 13:40:34 -0500
commita645831ca0962532660e4db3155a8be85e5ca312 (patch)
tree0dbb253459c414239d5b969ff0339d9776b954c8 /configs/T1024RDB_SPIFLASH_defconfig
parentfacdc5fb8346967fac04e64727eeb29c62968635 (diff)
downloadu-boot-a645831ca0962532660e4db3155a8be85e5ca312.tar.gz
cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n
cmd/mtd.c:447:13: warning: ‘mtd_help_text’ defined but not used [-Wunused-variable] static char mtd_help_text[] = ^~~~~~~~~~~~~ When SYS_LONGHELP is not defined. After looking at how other commands work, we should surround the whole help text (even its declaration) with an #ifdef CONFIG_SYS_LONGHELP, since it's compiled out when calling _CMD_HELP[1] on the help text variable argument to U_BOOT_CMD. [1] https://elixir.bootlin.com/u-boot/latest/source/include/command.h#L181 Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'configs/T1024RDB_SPIFLASH_defconfig')
0 files changed, 0 insertions, 0 deletions