xf86-video-intel: Branch 'modesetting' - src/ivch/ivch.c

Eric Anholt anholt at kemper.freedesktop.org
Tue Jan 9 02:53:18 EET 2007


 src/ivch/ivch.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree ee52c0ec4e95fa6e5f35c9cd75005a0c0003fd97 (from da6a00f787e4d13e6b75768c1976f1c44ae5bf72)
Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jan 8 16:53:07 2007 -0800

    Correct typo resulting in a crash with ivch.  = != ==.

diff --git a/src/ivch/ivch.c b/src/ivch/ivch.c
index 6c5db6c..085b542 100644
--- a/src/ivch/ivch.c
+++ b/src/ivch/ivch.c
@@ -92,7 +92,7 @@ ivch_init(I2CBusPtr b, I2CSlaveAddr addr
     xf86DrvMsg(b->scrnIndex, X_INFO, "detecting ivch\n");
 
     priv = xcalloc(1, sizeof(struct ivch_priv));
-    if (priv = NULL)
+    if (priv == NULL)
 	return NULL;
 
     priv->d.DevName = "i82807aa \"ivch\" LVDS/CMOS panel controller";



More information about the xorg-commit mailing list