brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 788a630 Raw
32 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2019 Intel Corporation4 */5 6#ifndef __INTEL_ACPI_H__7#define __INTEL_ACPI_H__8 9struct intel_display;10 11#ifdef CONFIG_ACPI12void intel_register_dsm_handler(void);13void intel_unregister_dsm_handler(void);14void intel_dsm_get_bios_data_funcs_supported(struct intel_display *display);15void intel_acpi_device_id_update(struct intel_display *display);16void intel_acpi_assign_connector_fwnodes(struct intel_display *display);17void intel_acpi_video_register(struct intel_display *display);18#else19static inline void intel_register_dsm_handler(void) { return; }20static inline void intel_unregister_dsm_handler(void) { return; }21static inline22void intel_dsm_get_bios_data_funcs_supported(struct intel_display *display) { return; }23static inline24void intel_acpi_device_id_update(struct intel_display *display) { return; }25static inline26void intel_acpi_assign_connector_fwnodes(struct intel_display *display) { return; }27static inline28void intel_acpi_video_register(struct intel_display *display) { return; }29#endif /* CONFIG_ACPI */30 31#endif /* __INTEL_ACPI_H__ */32