]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: zynq: Guard zynq_help_text with CONFIG_SYS_LONGHELP
authorMichal Simek <michal.simek@xilinx.com>
Mon, 19 Nov 2018 14:46:04 +0000 (15:46 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 26 Nov 2018 09:50:54 +0000 (10:50 +0100)
commitfcc10c2c62437150c88200487224c8b7512f9e7d
tree913b28615855e64c130c3fc71abf7b11ad073cdb
parent53162762e6edafc66414454eebbe55679cf4203e
ARM: zynq: Guard zynq_help_text with CONFIG_SYS_LONGHELP

If SYS_LONGHELP is disabled the following warning is generated:
board/xilinx/zynq/cmds.c:496:13: warning: ‘zynq_help_text’ defined but
not used [-Wunused-variable]

Normal way for fixing this is to guard the whole variable.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynq/cmds.c