summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_opregion.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2023-03-14 10:27:28 +0100
committerImre Deak <imre.deak@intel.com>2023-03-16 14:35:09 +0100
commit81e291d6f4296759df03666ca008453cd0e86821 (patch)
treeee9ec63016486ea9c602cc78e6216ba59ef25dc3 /drivers/gpu/drm/i915/display/intel_opregion.h
parentdrm/i915: Don't send idle pattern after DP2.0 link training (diff)
downloadlinux-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.h4
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)
{
}