From ee52c0ec4e95fa6e5f35c9cd75005a0c0003fd97 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 8 Jan 2007 16:53:07 -0800 Subject: [PATCH] Correct typo resulting in a crash with ivch. = != ==. --- src/ivch/ivch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ivch/ivch.c b/src/ivch/ivch.c index 6c5db6c9..085b542a 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";