]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/efi-bgrt.h
Merge tag 'for-next-dma_ops' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfor...
[mirror_ubuntu-bionic-kernel.git] / include / linux / efi-bgrt.h
CommitLineData
2223af38
JT
1#ifndef _LINUX_EFI_BGRT_H
2#define _LINUX_EFI_BGRT_H
3
2223af38
JT
4#include <linux/acpi.h>
5
7b0a9114
DY
6#ifdef CONFIG_ACPI_BGRT
7
8void efi_bgrt_init(struct acpi_table_header *table);
2223af38
JT
9
10/* The BGRT data itself; only valid if bgrt_image != NULL. */
2223af38 11extern size_t bgrt_image_size;
7b0a9114 12extern struct acpi_table_bgrt bgrt_tab;
2223af38
JT
13
14#else /* !CONFIG_ACPI_BGRT */
15
7b0a9114 16static inline void efi_bgrt_init(struct acpi_table_header *table) {}
2223af38
JT
17
18#endif /* !CONFIG_ACPI_BGRT */
19
20#endif /* _LINUX_EFI_BGRT_H */