Skip to content

Commit 2aa0bb2

Browse files
LeGrosFaisannashif
authored andcommitted
drivers: i2c: gecko: fix typo of the BUILD_ASSERT
In the macro I2C_VALIDATE_LOC, there was a typo preventing the compilation. Signed-off-by: Steven Lemaire <[email protected]>
1 parent 1715e39 commit 2aa0bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/i2c_gecko.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static const struct i2c_driver_api i2c_gecko_driver_api = {
206206
#define I2C_VALIDATE_LOC(idx) \
207207
BUILD_ASSERT(DT_INST_PROP_BY_IDX(idx, location_sda, 0) \
208208
== DT_INST_PROP_BY_IDX(idx, location_scl, 0), \
209-
"DTS location-* properties must be equal"))
209+
"DTS location-* properties must be equal")
210210
#define I2C_LOC_DATA(idx) \
211211
.loc = DT_INST_PROP_BY_IDX(idx, location_scl, 0)
212212
#endif

0 commit comments

Comments
 (0)