Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / drivers / gpu / drm / i915 / display / intel_acpi.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5
6 #ifndef __INTEL_ACPI_H__
7 #define __INTEL_ACPI_H__
8
9 #ifdef CONFIG_ACPI
10 void intel_register_dsm_handler(void);
11 void intel_unregister_dsm_handler(void);
12 #else
13 static inline void intel_register_dsm_handler(void) { return; }
14 static inline void intel_unregister_dsm_handler(void) { return; }
15 #endif /* CONFIG_ACPI */
16
17 #endif /* __INTEL_ACPI_H__ */