Josh Triplett | 2223af3 | 2012-09-28 17:57:05 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_EFI_BGRT_H |
2 | #define _LINUX_EFI_BGRT_H | ||||
3 | |||||
4 | #ifdef CONFIG_ACPI_BGRT | ||||
5 | |||||
6 | #include <linux/acpi.h> | ||||
7 | |||||
8 | void efi_bgrt_init(void); | ||||
9 | |||||
10 | /* The BGRT data itself; only valid if bgrt_image != NULL. */ | ||||
11 | extern void *bgrt_image; | ||||
12 | extern size_t bgrt_image_size; | ||||
13 | extern struct acpi_table_bgrt *bgrt_tab; | ||||
14 | |||||
15 | #else /* !CONFIG_ACPI_BGRT */ | ||||
16 | |||||
17 | static inline void efi_bgrt_init(void) {} | ||||
18 | |||||
19 | #endif /* !CONFIG_ACPI_BGRT */ | ||||
20 | |||||
21 | #endif /* _LINUX_EFI_BGRT_H */ |