summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@localhost.(none)>2008-03-05 10:33:57 +0000
committerAlan Hourihane <alanh@localhost.(none)>2008-03-05 10:35:47 +0000
commitfef1c93aa87a1ccbc473749a7e42557fc90a1fca (patch)
tree5f9b91eded4727316c3d3a31cfab29eb649cf126
parentb87c7ff79ee88ec39a285bc17bd2996252b9fd48 (diff)
build fix
-rw-r--r--linux-core/drm_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index dfa0987f..be491908 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -420,14 +420,14 @@ bool drm_crtc_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
int saved_x, saved_y;
bool didLock = false;
struct drm_output *output;
+ bool ret = true;
adjusted_mode = drm_mode_duplicate(dev, mode);
crtc->enabled = drm_crtc_in_use(crtc);
- if (!crtc->enabled) {
+ if (!crtc->enabled)
return true;
- }
didLock = crtc->funcs->lock(crtc);