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:
Wolfram Sang
2022-06-04 01:29:40 +02:00
committed by Geert Uytterhoeven
parent 5235d55177
commit 290cedeca6

View File

@@ -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