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)
10int nfit_get_smbios_id(u32 device_handle, u16 *flags);
11#else
12static 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