xref: /linux/include/acpi/nfit.h (revision 69bfec7548f4c1595bac0e3ddfc0458a5af31f4c)
1 /*
2  * SPDX-License-Identifier: GPL-2.0
3  * Copyright (C) 2018 Intel Corporation
4  */
5 
6 #ifndef __ACPI_NFIT_H
7 #define __ACPI_NFIT_H
8 
9 #if IS_ENABLED(CONFIG_ACPI_NFIT)
10 int nfit_get_smbios_id(u32 device_handle, u16 *flags);
11 #else
12 static inline int nfit_get_smbios_id(u32 device_handle, u16 *flags)
13 {
14 	return -EOPNOTSUPP;
15 }
16 #endif
17 
18 #endif /* __ACPI_NFIT_H */
19