Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / include / acpi / button.h
blobaf2fce5d2ee33bec227cfb6e0b25049ce060320d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ACPI_BUTTON_H
3 #define ACPI_BUTTON_H
5 #define ACPI_BUTTON_HID_POWER "PNP0C0C"
6 #define ACPI_BUTTON_HID_LID "PNP0C0D"
7 #define ACPI_BUTTON_HID_SLEEP "PNP0C0E"
9 #if IS_ENABLED(CONFIG_ACPI_BUTTON)
10 extern int acpi_lid_open(void);
11 #else
12 static inline int acpi_lid_open(void)
14 return 1;
16 #endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */
18 #endif /* ACPI_BUTTON_H */