diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-20 09:17:26 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-20 13:49:22 +0100 |
commit | 1083b2b315cd71f714eb0d0bca20e54ef7be02ad (patch) | |
tree | b5f88c2bf84088695aced9a36b7581141b661e4b /lib/psci | |
parent | bef9a10fe4b910767b94533f318cfaabe0e0ee01 (diff) |
PSCI: Fix types of definitions
Also change header guards to fix defects of MISRA C-2012 Rule 21.1.
Change-Id: Ied0d4b0e557ef6119ab669d106d2ac5d99620c57
Acked-by: Sumit Garg <sumit.garg@linaro.org>
Acked-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'lib/psci')
-rw-r--r-- | lib/psci/psci_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psci/psci_private.h b/lib/psci/psci_private.h index eb0605e2..7eb2fc0b 100644 --- a/lib/psci/psci_private.h +++ b/lib/psci/psci_private.h @@ -111,7 +111,7 @@ typedef struct non_cpu_pwr_domain_node { * Index of the first CPU power domain node level 0 which has this node * as its parent. */ - unsigned int cpu_start_idx; + int cpu_start_idx; /* * Number of CPU power domains which are siblings of the domain indexed |