diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2011-03-19 19:31:53 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-15 20:47:19 -0400 |
commit | f9ec8f6c8dea942bc4be5cc1f34c99df7a4d78ee (patch) | |
tree | 9b99c6478811f093eecbf2f635ee6ee80d92c510 /drivers/gpu/drm/nouveau/nv04_crtc.c | |
parent | f212949ced2397b5f00e987bb5d4bb34dc69cc8d (diff) |
drm/nouveau: Fix brace placement checkpatch.pl errors.
Fix 'ERROR: that open brace { should be on the previous line'
Fix 'ERROR: else should follow close brace }'
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_crtc.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv04_crtc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_crtc.c b/drivers/gpu/drm/nouveau/nv04_crtc.c index 748b9d9c2949..cc3cd175ab9d 100644 --- a/drivers/gpu/drm/nouveau/nv04_crtc.c +++ b/drivers/gpu/drm/nouveau/nv04_crtc.c | |||
@@ -790,8 +790,7 @@ nv04_crtc_do_mode_set_base(struct drm_crtc *crtc, | |||
790 | if (atomic) { | 790 | if (atomic) { |
791 | drm_fb = passed_fb; | 791 | drm_fb = passed_fb; |
792 | fb = nouveau_framebuffer(passed_fb); | 792 | fb = nouveau_framebuffer(passed_fb); |
793 | } | 793 | } else { |
794 | else { | ||
795 | /* If not atomic, we can go ahead and pin, and unpin the | 794 | /* If not atomic, we can go ahead and pin, and unpin the |
796 | * old fb we were passed. | 795 | * old fb we were passed. |
797 | */ | 796 | */ |