]> Git Repo - linux.git/blob - include/acpi/button.h
ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
[linux.git] / include / acpi / button.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ACPI_BUTTON_H
3 #define ACPI_BUTTON_H
4
5 #if IS_ENABLED(CONFIG_ACPI_BUTTON)
6 extern int acpi_lid_open(void);
7 #else
8 static inline int acpi_lid_open(void)
9 {
10         return 1;
11 }
12 #endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */
13
14 #endif /* ACPI_BUTTON_H */
This page took 0.027608 seconds and 4 git commands to generate.