mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
reset: uniphier: enclose UNIPHIER_RESET_ID_END value in parentheses
Fixes a checkpatch error: ERROR: Macros with complex values should be enclosed in parentheses #23: FILE: drivers/reset/reset-uniphier.c:23: +#define UNIPHIER_RESET_ID_END (unsigned int)(-1) Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
71400c3fc4
commit
b19a5aec35
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ struct uniphier_reset_data {
|
|||
#define UNIPHIER_RESET_ACTIVE_LOW BIT(0)
|
||||
};
|
||||
|
||||
#define UNIPHIER_RESET_ID_END (unsigned int)(-1)
|
||||
#define UNIPHIER_RESET_ID_END ((unsigned int)(-1))
|
||||
|
||||
#define UNIPHIER_RESET_END \
|
||||
{ .id = UNIPHIER_RESET_ID_END }
|
||||
|
|
Loading…
Reference in a new issue