xref: /openbmc/linux/drivers/gpu/drm/i915/display/intel_acpi.h (revision 4f727ecefefbd180de10e25b3e74c03dce3f1e75)
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