]> git.ipfire.org Git - thirdparty/u-boot.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>
Wed, 12 Dec 2018 11:43:22 +0000 (12:43 +0100)
commita09ca25892fbff4e743d2474f6377043085bd975
tree8e7d6843f4fb27671a12d970b3bc6ff37291a728
parentaeef6bbc078ea9b0e1f18962c026cde142022480
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>
Series-to: uboot
board/xilinx/zynq/cmds.c