]> git.baikalelectronics.ru Git - uboot.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)
commit21d48519fa99c3937c6b1a520a6417bf8b67f865
tree28dde5b0869ec59ae3ed5017ee7f7ebfcc08993d
parentb219d8ed5914598449d78a3dc5b9174569a95a40
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