nfit.h 351 B

123456789101112131415161718
  1. /*
  2. * SPDX-License-Identifier: GPL-2.0
  3. * Copyright (C) 2018 Intel Corporation
  4. */
  5. #ifndef __ACPI_NFIT_H
  6. #define __ACPI_NFIT_H
  7. #if IS_ENABLED(CONFIG_ACPI_NFIT)
  8. int nfit_get_smbios_id(u32 device_handle, u16 *flags);
  9. #else
  10. static inline int nfit_get_smbios_id(u32 device_handle, u16 *flags)
  11. {
  12. return -EOPNOTSUPP;
  13. }
  14. #endif
  15. #endif /* __ACPI_NFIT_H */