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_sdvo.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_sdvo.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sdvo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index e4f9918ab859..2abeab09e883 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c | |||
@@ -1536,8 +1536,9 @@ static void intel_sdvo_dpms(struct drm_connector *connector, int mode) | |||
1536 | intel_modeset_check_state(connector->dev); | 1536 | intel_modeset_check_state(connector->dev); |
1537 | } | 1537 | } |
1538 | 1538 | ||
1539 | static int intel_sdvo_mode_valid(struct drm_connector *connector, | 1539 | static enum drm_mode_status |
1540 | struct drm_display_mode *mode) | 1540 | intel_sdvo_mode_valid(struct drm_connector *connector, |
1541 | struct drm_display_mode *mode) | ||
1541 | { | 1542 | { |
1542 | struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector); | 1543 | struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector); |
1543 | 1544 | ||