]> git.ipfire.org Git - people/ms/u-boot.git/commit
pcm058: Fix unused variable warnings
authorTom Rini <trini@konsulko.com>
Tue, 9 May 2017 02:14:27 +0000 (22:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:27 +0000 (08:37 -0400)
commitb3cf43392ae16b698db3fca032dc1a14dedd74cc
treeff11def2685d0ba14abf517089fa75f40be9e474
parent0f160f66d829cd720457dd1ca1fed87e4177d61d
pcm058: Fix unused variable warnings

The variable nfc_pads is only referenced when CONFIG_CMD_NAND is set,
add a gaurd.  The variable gpio_pads is never referenced, drop it.  The
variable usdhc4_pads are only referenced when we do not have
CONFIG_CMD_NAND set and we are not doing an SPL build, modify the
existing guard.

Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
board/phytec/pcm058/pcm058.c