mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-15 00:11:11 -04:00
arm64: dts: renesas: rzg2l-smarc: Use proper bool operator
When checking for defined macros, we want the boolean AND not the binary one. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20220603232940.21736-1-wsa+renesas@sang-engineering.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
5235d55177
commit
290cedeca6
@@ -29,7 +29,7 @@
|
||||
#define SW_RSPI_CAN 1
|
||||
#endif
|
||||
|
||||
#if (SW_SCIF_CAN & SW_RSPI_CAN)
|
||||
#if (SW_SCIF_CAN && SW_RSPI_CAN)
|
||||
#error "Can not set 1 to both SW_SCIF_CAN and SW_RSPI_CAN due to HW routing"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user