diff mbox

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

Message ID 1414192274-15933-3-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien Oct. 24, 2014, 11:11 p.m. UTC
OCD kicks in again...

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

Comments

Chris Wilson Oct. 25, 2014, 9:03 a.m. UTC | #1
On Sat, Oct 25, 2014 at 12:11:13AM +0100, Damien Lespiau wrote:
> OCD kicks in again...
> 
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_display.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 07440ad..dd071c6 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -9561,6 +9561,7 @@ static void ilk_do_mmio_flip(struct intel_crtc *intel_crtc)
>  	struct drm_i915_gem_object *obj = intel_fb->obj;
>  	u32 dspcntr;
>  	u32 reg;
> +
>  	reg = DSPCNTR(intel_crtc->plane);

ocd would have moved it into the variable block and made it const. ;-)
-Chris
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 07440ad..dd071c6 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9561,6 +9561,7 @@  static void ilk_do_mmio_flip(struct intel_crtc *intel_crtc)
 	struct drm_i915_gem_object *obj = intel_fb->obj;
 	u32 dspcntr;
 	u32 reg;
+
 	reg = DSPCNTR(intel_crtc->plane);
 	dspcntr = I915_READ(reg);