repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
19 lines
351 B
C
19 lines
351 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __ACPI_NFIT_H
|
|
#define __ACPI_NFIT_H
|
|
|
|
#if IS_ENABLED(CONFIG_ACPI_NFIT)
|
|
int nfit_get_smbios_id(u32 device_handle, u16 *flags);
|
|
#else
|
|
static inline int nfit_get_smbios_id(u32 device_handle, u16 *flags)
|
|
{
|
|
return -EOPNOTSUPP;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __ACPI_NFIT_H */
|