xref: /kernel/linux/linux-6.6/include/acpi/nfit.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/acpi/
162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * SPDX-License-Identifier: GPL-2.0
362306a36Sopenharmony_ci * Copyright (C) 2018 Intel Corporation
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef __ACPI_NFIT_H
762306a36Sopenharmony_ci#define __ACPI_NFIT_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_ACPI_NFIT)
1062306a36Sopenharmony_ciint nfit_get_smbios_id(u32 device_handle, u16 *flags);
1162306a36Sopenharmony_ci#else
1262306a36Sopenharmony_cistatic inline int nfit_get_smbios_id(u32 device_handle, u16 *flags)
1362306a36Sopenharmony_ci{
1462306a36Sopenharmony_ci	return -EOPNOTSUPP;
1562306a36Sopenharmony_ci}
1662306a36Sopenharmony_ci#endif
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif /* __ACPI_NFIT_H */
19

Indexes created Thu Nov 07 10:32:03 CST 2024