]> git.baikalelectronics.ru Git - uboot.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)
commit1267df5c8b82f7e294d819a12837c30c94daf3de
tree84ce0a9bde7cc4189f9da74879088069ef887312
parent101799a781cfa417a9f825369e443ae17ebad80a
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