diff options
Diffstat (limited to 'include/i2c.h')
-rw-r--r-- | include/i2c.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/i2c.h b/include/i2c.h index 4da9306abb..741b578ec8 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -8,6 +8,13 @@ #ifndef __CROS_EC_I2C_H #define __CROS_EC_I2C_H +/* + * I don't know why but gcc's preprocessor doesn't like the autoconf.h file, + * sometimes. Adding a #line directive anywhere in this file seems to fix the + * problem. #line marks the *next* line, so it is off by one. + */ +#line 17 + #include "common.h" #include "gpio_signal.h" #include "host_command.h" |