| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 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 */ | ||||