xref: /linux/drivers/gpu/drm/i915/display/intel_acpi.h (revision 63d6e721527e175edbbe8513cba8e4a0caf94da5)
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__ */
18