This source file includes following definitions.
- apple_gmux_present
- apple_gmux_present
1
2
3
4
5
6
7 #ifndef LINUX_APPLE_GMUX_H
8 #define LINUX_APPLE_GMUX_H
9
10 #include <linux/acpi.h>
11
12 #define GMUX_ACPI_HID "APP000B"
13
14 #if IS_ENABLED(CONFIG_APPLE_GMUX)
15
16
17
18
19
20
21
22
23
24
25 static inline bool apple_gmux_present(void)
26 {
27 return acpi_dev_found(GMUX_ACPI_HID);
28 }
29
30 #else
31
32 static inline bool apple_gmux_present(void)
33 {
34 return false;
35 }
36
37 #endif
38
39 #endif