diff options
-rw-r--r-- | driver/accel_bma4xx.c | 6 | ||||
-rw-r--r-- | include/chipset.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/driver/accel_bma4xx.c b/driver/accel_bma4xx.c index 2dbeea5e75..345916dd36 100644 --- a/driver/accel_bma4xx.c +++ b/driver/accel_bma4xx.c @@ -23,6 +23,12 @@ #include <motion_sense_fifo.h> +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 31 + #ifdef CONFIG_ACCEL_BMA4XX_INT_EVENT #define BMA4XX_USE_INTERRUPTS #endif diff --git a/include/chipset.h b/include/chipset.h index ead2a9680e..2ec7d3b059 100644 --- a/include/chipset.h +++ b/include/chipset.h @@ -10,6 +10,12 @@ * all main chipsets (x86, gaia, etc.). */ +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 18 + #ifndef __CROS_EC_CHIPSET_H #define __CROS_EC_CHIPSET_H |