diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-11-28 10:29:18 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-28 10:49:33 -0500 |
commit | c19de8eb67f745a7b16a7587ed002e6916ab2a5d (patch) | |
tree | fb9f3557cd6dbe8a948cf4273aa9f6c844e275c9 /drivers/gpu/drm/i915/intel_dp.c | |
parent | ddf9c536295b9d7fcfd0bfc377593b41f2a4dc02 (diff) |
drm/i915: Return a drm_mode_status enum in the mode_valid vfuncs
We had some mode_valid() vfuncs returning an int, others the enum. Let's
use the latter everywhere.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 3b22e726585e..82de200efa05 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -142,7 +142,7 @@ intel_dp_max_data_rate(int max_link_clock, int max_lanes) | |||
142 | return (max_link_clock * max_lanes * 8) / 10; | 142 | return (max_link_clock * max_lanes * 8) / 10; |
143 | } | 143 | } |
144 | 144 | ||
145 | static int | 145 | static enum drm_mode_status |
146 | intel_dp_mode_valid(struct drm_connector *connector, | 146 | intel_dp_mode_valid(struct drm_connector *connector, |
147 | struct drm_display_mode *mode) | 147 | struct drm_display_mode *mode) |
148 | { | 148 | { |