aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/button.h
blob: af2fce5d2ee33bec227cfb6e0b25049ce060320d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ACPI_BUTTON_H
#define ACPI_BUTTON_H

#define ACPI_BUTTON_HID_POWER	"PNP0C0C"
#define ACPI_BUTTON_HID_LID	"PNP0C0D"
#define ACPI_BUTTON_HID_SLEEP	"PNP0C0E"

#if IS_ENABLED(CONFIG_ACPI_BUTTON)
extern int acpi_lid_open(void);
#else
static inline int acpi_lid_open(void)
{
	return 1;
}
#endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */

#endif /* ACPI_BUTTON_H */
tiplexing vcpus on a s...Marc Zyngier9-2/+66 2016-10-23Linux 4.9-rc2v4.9-rc2Linus Torvalds1-1/+1 2016-10-22x86/boot/smp: Don't try to poke disabled/non-existent APICVille Syrjälä1-7/+9 2016-10-21arm/arm64: KVM: Map the BSS at HYPMarc Zyngier1-0/+7 2016-10-21arm64: KVM: Take S1 walks into account when determining S2 write faultsWill Deacon1-5/+6 2016-10-21PCI: designware-plat: Update author email addressJoao Pinto1-1/+1 2016-10-21kernel/irq: Export irq_set_parent()Sudip Mukherjee1-0/+1 2016-10-21target/tcm_fc: use CPU affinity for responsesHannes Reinecke1-1/+1 2016-10-21target/tcm_fc: Update debugging statements to match libfc usageHannes Reinecke1-11/+26 2016-10-21target/tcm_fc: return detailed error in ft_sess_create()Hannes Reinecke1-2/+3 2016-10-21target/tcm_fc: print command pointer in debug messageHannes Reinecke1-1/+1 2016-10-21target: fix potential race window in target_sess_cmd_list_waiting()Hannes Reinecke1-4/+8 2016-10-21watchdog: wdat_wdt: Ping the watchdog on resumeMika Westerberg1-0/+4 2016-10-20Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"Chen-Yu Tsai1-2/+14 2016-10-20clocksource: Add J-Core timer/clocksource driverRich Felker4-0/+261