]> git.dujemihanovic.xyz Git - u-boot.git/commit
rk3036: Fix unused variable warning
authorTom Rini <trini@konsulko.com>
Tue, 9 May 2017 02:14:20 +0000 (22:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:22 +0000 (08:37 -0400)
commit80403aa6361665a232e5ff89f5e4a69d9a8e116b
tree28dde5b0869ec59ae3ed5017ee7f7ebfcc08993d
parent1f7efe82bdd5677500cc864ee53530d73367afab
rk3036: Fix unused variable warning

The variable grf is only referenced if EARLY_DEBUG is defined so move the
declaration to be under the existing guard.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3036-board-spl.c