diff options
Diffstat (limited to 'kernel/include/acpi/button.h')
-rw-r--r-- | kernel/include/acpi/button.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/include/acpi/button.h b/kernel/include/acpi/button.h index 97eea0e4c..1cad8b2d4 100644 --- a/kernel/include/acpi/button.h +++ b/kernel/include/acpi/button.h @@ -3,7 +3,7 @@ #include <linux/notifier.h> -#if defined(CONFIG_ACPI_BUTTON) || defined(CONFIG_ACPI_BUTTON_MODULE) +#if IS_ENABLED(CONFIG_ACPI_BUTTON) extern int acpi_lid_notifier_register(struct notifier_block *nb); extern int acpi_lid_notifier_unregister(struct notifier_block *nb); extern int acpi_lid_open(void); @@ -20,6 +20,6 @@ static inline int acpi_lid_open(void) { return 1; } -#endif /* defined(CONFIG_ACPI_BUTTON) || defined(CONFIG_ACPI_BUTTON_MODULE) */ +#endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */ #endif /* ACPI_BUTTON_H */ |