Commit fbc64aaf authored by Jani Nikula's avatar Jani Nikula

drm/i915: make intel_display_power_domain_str() static

The function isn't used outside of intel_display_power.c. Make it
static.
Suggested-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240815120002.3472727-1-jani.nikula@intel.comSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 7d085bb1
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
for_each_power_well_reverse(__dev_priv, __power_well) \ for_each_power_well_reverse(__dev_priv, __power_well) \
for_each_if(test_bit((__domain), (__power_well)->domains.bits)) for_each_if(test_bit((__domain), (__power_well)->domains.bits))
const char * static const char *
intel_display_power_domain_str(enum intel_display_power_domain domain) intel_display_power_domain_str(enum intel_display_power_domain domain)
{ {
switch (domain) { switch (domain) {
......
...@@ -183,9 +183,6 @@ void intel_display_power_resume(struct drm_i915_private *i915); ...@@ -183,9 +183,6 @@ void intel_display_power_resume(struct drm_i915_private *i915);
void intel_display_power_set_target_dc_state(struct drm_i915_private *dev_priv, void intel_display_power_set_target_dc_state(struct drm_i915_private *dev_priv,
u32 state); u32 state);
const char *
intel_display_power_domain_str(enum intel_display_power_domain domain);
bool intel_display_power_is_enabled(struct drm_i915_private *dev_priv, bool intel_display_power_is_enabled(struct drm_i915_private *dev_priv,
enum intel_display_power_domain domain); enum intel_display_power_domain domain);
intel_wakeref_t intel_display_power_get(struct drm_i915_private *dev_priv, intel_wakeref_t intel_display_power_get(struct drm_i915_private *dev_priv,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment