diff options
Diffstat (limited to 'include/chipset_x86_common.h')
-rw-r--r-- | include/chipset_x86_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/chipset_x86_common.h b/include/chipset_x86_common.h index a23b11661f..21576f1899 100644 --- a/include/chipset_x86_common.h +++ b/include/chipset_x86_common.h @@ -89,6 +89,10 @@ enum x86_state x86_handle_state(enum x86_state state); /** * Interrupt handler for x86 chipset GPIOs. */ +#ifdef CONFIG_CHIPSET_X86 void x86_interrupt(enum gpio_signal signal); +#else +#define x86_interrupt NULL +#endif #endif /* __CROS_EC_CHIPSET_X86_COMMON_H */ |