summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ivch/ivch.c2
1 files changed, 1 insertions, 1 deletions
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";