diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-06-22 00:28:31 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2018-06-28 23:47:30 +0100 |
commit | 88aa5c43934359081b7e994dc539e7d9eefa4e2f (patch) | |
tree | a3377e6ae7243d420f78ae2941d42f4cb9409e6d /lib/psci/psci_main.c | |
parent | 27f9616fd721145d4db86584c19758de1c05f7d7 (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>
Diffstat (limited to 'lib/psci/psci_main.c')
0 files changed, 0 insertions, 0 deletions