]> git.dujemihanovic.xyz Git - u-boot.git/commit
controlcenterd_36BIT_SDCARD: Fix unused variable warning
authorTom Rini <trini@konsulko.com>
Fri, 16 Jun 2017 17:06:26 +0000 (13:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2017 14:38:05 +0000 (10:38 -0400)
commit3a97763aab781196bcc34e6fbc3eb81c12ccf2eb
tree84ce0a9bde7cc4189f9da74879088069ef887312
parent964a34e6020f51b67fe818c50a1d3bb1b90ac054
controlcenterd_36BIT_SDCARD: Fix unused variable warning

On the controlcenterd_36BIT_SDCARD config we get a warning about
prg_stage1_prepare being unused.  Move the declaration closer to usage
and hide under the existing #if tests.

Cc: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/gdsys/p1022/controlcenterd-id.c