1 /* 1 /* 2 * SPDX-License-Identifier: GPL-2.0 2 * SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018 Intel Corporation 3 * Copyright (C) 2018 Intel Corporation 4 */ 4 */ 5 5 6 #ifndef __ACPI_NFIT_H 6 #ifndef __ACPI_NFIT_H 7 #define __ACPI_NFIT_H 7 #define __ACPI_NFIT_H 8 8 9 #if IS_ENABLED(CONFIG_ACPI_NFIT) 9 #if IS_ENABLED(CONFIG_ACPI_NFIT) 10 int nfit_get_smbios_id(u32 device_handle, u16 10 int nfit_get_smbios_id(u32 device_handle, u16 *flags); 11 #else 11 #else 12 static inline int nfit_get_smbios_id(u32 devic 12 static inline int nfit_get_smbios_id(u32 device_handle, u16 *flags) 13 { 13 { 14 return -EOPNOTSUPP; 14 return -EOPNOTSUPP; 15 } 15 } 16 #endif 16 #endif 17 17 18 #endif /* __ACPI_NFIT_H */ 18 #endif /* __ACPI_NFIT_H */ 19 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.