diff mbox

[3/4,v2] drm/i915: Add space between variable declarations and code

Message ID 1414235109-2435-1-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien Oct. 25, 2014, 11:05 a.m. UTC
OCD kicks in again...

v2: Chris out-OCDed me and asked for a const.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 07440ad..052c6ae 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9559,9 +9559,9 @@  static void ilk_do_mmio_flip(struct intel_crtc *intel_crtc)
 	struct intel_framebuffer *intel_fb =
 		to_intel_framebuffer(intel_crtc->base.primary->fb);
 	struct drm_i915_gem_object *obj = intel_fb->obj;
+	const u32 reg = DSPCNTR(intel_crtc->plane);
 	u32 dspcntr;
-	u32 reg;
-	reg = DSPCNTR(intel_crtc->plane);
+
 	dspcntr = I915_READ(reg);
 
 	if (obj->tiling_mode != I915_TILING_NONE)