commit | bd60b02725ec41ed58aae3c95c41bf4c1d338412 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Jun 22 00:28:31 2018 +0100 |
committer | Andre Przywara <andre.przywara@arm.com> | Thu Jun 28 23:47:30 2018 +0100 |
tree | a3377e6ae7243d420f78ae2941d42f4cb9409e6d | |
parent | 8501d0968901a9dfa8dd23fff5e3555c5494a2a3 [diff] |
allwinner: security: Fix SPC guard The "#ifdef SUNXI_SPC_BASE" guard was meant to allow the build on SoCs without a Secure Peripherals Controller, so that we skip that part of the security setup. But in the current position this will trigger a warning about an unused variable. Simply move the guard one line up to cover the variable as well. Signed-off-by: Andre Przywara <andre.przywara@arm.com>