]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/efi-bgrt.h
cpufreq: Rename cpufreq_can_do_remote_dvfs()
[mirror_ubuntu-bionic-kernel.git] / include / linux / efi-bgrt.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
2223af38
JT
2#ifndef _LINUX_EFI_BGRT_H
3#define _LINUX_EFI_BGRT_H
4
2223af38
JT
5#include <linux/acpi.h>
6
7b0a9114
DY
7#ifdef CONFIG_ACPI_BGRT
8
9void efi_bgrt_init(struct acpi_table_header *table);
6e7300cf 10int __init acpi_parse_bgrt(struct acpi_table_header *table);
2223af38
JT
11
12/* The BGRT data itself; only valid if bgrt_image != NULL. */
2223af38 13extern size_t bgrt_image_size;
7b0a9114 14extern struct acpi_table_bgrt bgrt_tab;
2223af38
JT
15
16#else /* !CONFIG_ACPI_BGRT */
17
7b0a9114 18static inline void efi_bgrt_init(struct acpi_table_header *table) {}
6e7300cf
BS
19static inline int __init acpi_parse_bgrt(struct acpi_table_header *table)
20{
21 return 0;
22}
2223af38
JT
23
24#endif /* !CONFIG_ACPI_BGRT */
25
26#endif /* _LINUX_EFI_BGRT_H */