diff options
author | Rajat Jain <rajatja@google.com> | 2019-12-20 12:03:51 -0800 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-01-24 12:58:39 +0200 |
commit | 5fb443063009b71bb4cbebfbbd0b00a37016b53f (patch) | |
tree | b2cb5dc7501d1b9b7c7888fa34c97ffc1e4d4614 /drivers/gpu/drm/i915/display/intel_acpi.h | |
parent | d62f416f925dc615256193c76aebd582ae88bcaf (diff) |
drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi
Move the code that populates the ACPI device ID for devices, into more
appripriate intel_acpi.c. This is done in preparation for more users of
this code.
Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191220200353.252399-1-rajatja@google.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_acpi.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_acpi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_acpi.h b/drivers/gpu/drm/i915/display/intel_acpi.h index 1c576b3fb712..e8b068661d22 100644 --- a/drivers/gpu/drm/i915/display/intel_acpi.h +++ b/drivers/gpu/drm/i915/display/intel_acpi.h @@ -6,12 +6,17 @@ #ifndef __INTEL_ACPI_H__ #define __INTEL_ACPI_H__ +struct drm_i915_private; + #ifdef CONFIG_ACPI void intel_register_dsm_handler(void); void intel_unregister_dsm_handler(void); +void intel_acpi_device_id_update(struct drm_i915_private *i915); #else static inline void intel_register_dsm_handler(void) { return; } static inline void intel_unregister_dsm_handler(void) { return; } +static inline +void intel_acpi_device_id_update(struct drm_i915_private *i915) { return; } #endif /* CONFIG_ACPI */ #endif /* __INTEL_ACPI_H__ */ |