diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-08-23 12:36:45 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-08-24 19:23:09 +0300 |
commit | cb6baa20c5f3ec3da9a5f1ad127fbf3da0774ade (patch) | |
tree | 84201242daf2e2f26ab06dd9fda754290125f2f4 /drivers/gpu/drm/i915/display/intel_fdi.h | |
parent | b6dfa416172939edaa46a5a647457b94c6d94119 (diff) |
drm/i915/fdi: make intel_fdi_link_freq() return int
The unsigned doesn't help us here.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210823093645.10464-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fdi.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_fdi.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fdi.h b/drivers/gpu/drm/i915/display/intel_fdi.h index fd63a6a53fca..2c8ffd9ceaed 100644 --- a/drivers/gpu/drm/i915/display/intel_fdi.h +++ b/drivers/gpu/drm/i915/display/intel_fdi.h @@ -6,15 +6,13 @@ #ifndef _INTEL_FDI_H_ #define _INTEL_FDI_H_ -#include <linux/types.h> - struct drm_i915_private; struct intel_crtc; struct intel_crtc_state; struct intel_encoder; #define I915_DISPLAY_CONFIG_RETRY 1 -u32 intel_fdi_link_freq(struct drm_i915_private *i915, +int intel_fdi_link_freq(struct drm_i915_private *i915, const struct intel_crtc_state *pipe_config); int ilk_fdi_compute_config(struct intel_crtc *intel_crtc, struct intel_crtc_state *pipe_config); |