Blame view

include/linux/efi-bgrt.h 644 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
2223af389   Josh Triplett   efi: Fix the ACPI...
2
3
  #ifndef _LINUX_EFI_BGRT_H
  #define _LINUX_EFI_BGRT_H
2223af389   Josh Triplett   efi: Fix the ACPI...
4
  #include <linux/acpi.h>
7b0a91147   Dave Young   efi/x86: Move the...
5
6
7
  #ifdef CONFIG_ACPI_BGRT
  
  void efi_bgrt_init(struct acpi_table_header *table);
6e7300cff   Bhupesh Sharma   efi/bgrt: Enable ...
8
  int __init acpi_parse_bgrt(struct acpi_table_header *table);
2223af389   Josh Triplett   efi: Fix the ACPI...
9
10
  
  /* The BGRT data itself; only valid if bgrt_image != NULL. */
2223af389   Josh Triplett   efi: Fix the ACPI...
11
  extern size_t bgrt_image_size;
7b0a91147   Dave Young   efi/x86: Move the...
12
  extern struct acpi_table_bgrt bgrt_tab;
2223af389   Josh Triplett   efi: Fix the ACPI...
13
14
  
  #else /* !CONFIG_ACPI_BGRT */
7b0a91147   Dave Young   efi/x86: Move the...
15
  static inline void efi_bgrt_init(struct acpi_table_header *table) {}
6e7300cff   Bhupesh Sharma   efi/bgrt: Enable ...
16
17
18
19
  static inline int __init acpi_parse_bgrt(struct acpi_table_header *table)
  {
  	return 0;
  }
2223af389   Josh Triplett   efi: Fix the ACPI...
20
21
22
23
  
  #endif /* !CONFIG_ACPI_BGRT */
  
  #endif /* _LINUX_EFI_BGRT_H */