diff options
author | Imre Deak <imre.deak@intel.com> | 2023-03-14 10:27:28 +0100 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-03-16 14:35:09 +0100 |
commit | 81e291d6f4296759df03666ca008453cd0e86821 (patch) | |
tree | ee9ec63016486ea9c602cc78e6216ba59ef25dc3 /drivers/gpu/drm/i915/display/intel_opregion.h | |
parent | drm/i915: Don't send idle pattern after DP2.0 link training (diff) | |
download | linux-81e291d6f4296759df03666ca008453cd0e86821.tar.xz linux-81e291d6f4296759df03666ca008453cd0e86821.zip |
drm/i915/opregion: Fix CONFIG_ACPI=n builds adding missing intel_opregion_cleanup() prototype
Add the missing intel_opregion_cleanup() prototype fixing CONFIG_ACPI=n
builds.
Fixes: 3e226e4a2180 ("drm/i915/opregion: Cleanup opregion after errors during driver loading")
Cc: Jani Nikula <jani.nikula@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303141610.6L1VO7Gw-lkp@intel.com/
Signed-off-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_opregion.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_opregion.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_opregion.h b/drivers/gpu/drm/i915/display/intel_opregion.h index 181eb3e9abbf..fd2ea8ef0fa2 100644 --- a/drivers/gpu/drm/i915/display/intel_opregion.h +++ b/drivers/gpu/drm/i915/display/intel_opregion.h @@ -86,6 +86,10 @@ static inline int intel_opregion_setup(struct drm_i915_private *dev_priv) return 0; } +static inline void intel_opregion_cleanup(struct drm_i915_private *i915) +{ +} + static inline void intel_opregion_register(struct drm_i915_private *dev_priv) { } |