diff mbox

Problems Compiling from Git

Message ID dfb03c971002181519n374661bewf04391025b80fab9@mail.gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Alexander Lam Feb. 18, 2010, 11:19 p.m. UTC
None
diff mbox

Patch

diff -puNr a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
--- a/drivers/gpu/drm/i915/intel_display.c	2010-02-18 18:14:11.287962137 -0500
+++ b/drivers/gpu/drm/i915/intel_display.c	2010-02-18 18:13:51.336212730 -0500
@@ -2775,7 +2775,7 @@  static void i9xx_update_wm(struct drm_de
 		if (IS_I945G(dev) || IS_I945GM(dev)) {
 			I915_WRITE(FW_BLC_SELF, I915_READ(FW_BLC_SELF)
 				   & ~FW_BLC_SELF_EN);
-		} else if (IS_I915GM) {
+		} else if (IS_I915GM(dev)) {
 			I915_WRITE(INSTPM, I915_READ(INSTPM) & ~INSTPM_SELF_EN);
 		}
 	}