diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2017-06-07 09:51:26 -0700 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2017-06-08 07:02:20 -0700 |
commit | d20f189db45e8b601dd68ea3abbd3535ca890765 (patch) | |
tree | d1b515c18a639a2c9d8c472cdaef17b8b11781a9 /lib/psci/psci_main.c | |
parent | f9a050e41ba4a069e755273dab77fbeec795bd6a (diff) |
tegra: Fix build errors
The 'impl' variable is guarded by the symbol DEBUG, but used in an INFO
level print statement. INFO is defined based on LOG_LEVEL. Hence, builds
would fail when
- DEBUG=0 && LOG_LEVEL>=LOG_LEVEL_INFO with a variable used but not defined
- DEBUG=1 && LOG_LEVEL<LOG_LEVEL_INFO with a variable defined but not used
Fixing this by guarding impl with the same condition that guards INFO.
Fixes ARM-software/tf-issues#490
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Diffstat (limited to 'lib/psci/psci_main.c')
0 files changed, 0 insertions, 0 deletions