https://github.com/torvalds/linux
Raw File
Tip revision: 80e78fcce86de0288793a0ef0f6acf37656ee4cf authored by Linus Torvalds on 11 September 2022, 20:22:01 UTC
Linux 6.0-rc5
Tip revision: 80e78fc
nfit.h
/*
 * 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 */
back to top