diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index d08fa911a4..86c006d9e9 100644 --- a/include/common.h +++ b/include/common.h @@ -132,7 +132,11 @@ * linked into the .rodata section. */ #ifndef __init_rom +#ifndef CONFIG_ZEPHYR #define __init_rom __attribute__((section(".init.rom"))) +#else +#define __init_rom +#endif #endif /* gcc does not support __has_feature */ |