summaryrefslogtreecommitdiffstats
path: root/include/acpi/button.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-09-23 09:52:03 +0200
committerIngo Molnar <mingo@kernel.org>2015-09-23 09:52:03 +0200
commit4bbffe718fe1bfae6176a6fb783c1576b69338e5 (patch)
treee4d25102f0d2fa2a3480e03ba7bde45c9958511e /include/acpi/button.h
parentac742d37180bee83bc433be087b66a17af2883b9 (diff)
parent21199f27b430576552b26210b3194a363d7f05cd (diff)
downloadtalos-op-linux-4bbffe718fe1bfae6176a6fb783c1576b69338e5.tar.gz
talos-op-linux-4bbffe718fe1bfae6176a6fb783c1576b69338e5.zip
Merge branch 'locking/urgent' into locking/core, to pick up fixes before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/acpi/button.h')
-rw-r--r--include/acpi/button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/button.h b/include/acpi/button.h
index 97eea0e4c016..1cad8b2d460c 100644
--- a/include/acpi/button.h
+++ b/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 */
OpenPOWER on IntegriCloud