https://github.com/torvalds/linux
Raw File
Tip revision: fb2786dfa5e9225c62ac8e5e8b10ddd2b2f1215a authored by dependabot[bot] on 15 July 2024, 18:34:17 UTC
build(deps): bump setuptools in /drivers/gpu/drm/ci/xfails
Tip revision: fb2786d
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