1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/notifier.h>
7 #if IS_ENABLED(CONFIG_ACPI_BUTTON)
8 extern int acpi_lid_notifier_register(struct notifier_block *nb);
9 extern int acpi_lid_notifier_unregister(struct notifier_block *nb);
10 extern int acpi_lid_open(void);
12 static inline int acpi_lid_notifier_register(struct notifier_block *nb)
16 static inline int acpi_lid_notifier_unregister(struct notifier_block *nb)
20 static inline int acpi_lid_open(void)
24 #endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */
26 #endif /* ACPI_BUTTON_H */