diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index b15b72e629..5f236a1f35 100644 --- a/include/common.h +++ b/include/common.h @@ -110,4 +110,12 @@ enum ec_error_list { #define test_export_static static #endif +/* + * accessor allowing to override some read only data accesses. + * used to workaround a buggy toolchain (cf http://crosbug.com/p/24378) + */ +#ifndef RO +#define RO(var) var +#endif + #endif /* __CROS_EC_COMMON_H */ |