mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
smccc: Fix checkpatch error in header file
Change-Id: Ice141dcc17f504025f922acace94d98f84acba9e Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
This commit is contained in:
parent
64af39d065
commit
0c487ea42a
1 changed files with 4 additions and 2 deletions
|
@ -14,8 +14,10 @@
|
|||
#define SMCCC_VERSION_MINOR_SHIFT U(0)
|
||||
#define SMCCC_VERSION_MINOR_MASK U(0xFFFF)
|
||||
#define MAKE_SMCCC_VERSION(_major, _minor) \
|
||||
( (((uint32_t)(_major) & SMCCC_VERSION_MAJOR_MASK) << SMCCC_VERSION_MAJOR_SHIFT) \
|
||||
| (((uint32_t)(_minor) & SMCCC_VERSION_MINOR_MASK) << SMCCC_VERSION_MINOR_SHIFT))
|
||||
((((uint32_t)(_major) & SMCCC_VERSION_MAJOR_MASK) << \
|
||||
SMCCC_VERSION_MAJOR_SHIFT) \
|
||||
| (((uint32_t)(_minor) & SMCCC_VERSION_MINOR_MASK) << \
|
||||
SMCCC_VERSION_MINOR_SHIFT))
|
||||
|
||||
#if SMCCC_MAJOR_VERSION == 1
|
||||
# define SMCCC_MINOR_VERSION U(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue