blob: 86ed07c1200ddaa779ef1fdd9e7cb3bc3040fc70 [file] [log] [blame]
Tony Luck23222f82018-03-12 11:24:28 -07001/*
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 */