diff options
Diffstat (limited to 'include/keyboard_raw.h')
-rw-r--r-- | include/keyboard_raw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/keyboard_raw.h b/include/keyboard_raw.h index 9bdd1cce8f..8591700b47 100644 --- a/include/keyboard_raw.h +++ b/include/keyboard_raw.h @@ -68,7 +68,7 @@ void keyboard_raw_enable_interrupt(int enable); void keyboard_raw_gpio_interrupt(enum gpio_signal signal); #else -#define keyboard_raw_gpio_interrupt NULL -#endif +static inline void keyboard_raw_gpio_interrupt(enum gpio_signal signal) { } +#endif /* !HAS_TASK_KEYSCAN */ #endif /* __CROS_EC_KEYBOARD_RAW_H */ |