intel_acpi.h revision 1.4
1/*	$NetBSD: intel_acpi.h,v 1.4 2021/12/19 11:16:17 riastradh Exp $	*/
2
3/* SPDX-License-Identifier: MIT */
4/*
5 * Copyright © 2019 Intel Corporation
6 */
7
8#ifndef __INTEL_ACPI_H__
9#define __INTEL_ACPI_H__
10
11struct drm_i915_private;
12
13#ifdef CONFIG_ACPI
14#ifdef __NetBSD__
15void intel_register_dsm_handler(struct drm_i915_private *);
16#else
17void intel_register_dsm_handler(void);
18#endif
19void intel_unregister_dsm_handler(void);
20#else
21#ifdef __NetBSD__
22static inline void intel_register_dsm_handler(struct drm_i915_private *i915) { return; }
23#else
24static inline void intel_register_dsm_handler(void) { return; }
25#endif
26static inline void intel_unregister_dsm_handler(void) { return; }
27#endif /* CONFIG_ACPI */
28
29#endif /* __INTEL_ACPI_H__ */
30