summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-08 16:53:07 -0800
committerEric Anholt <eric@anholt.net>2007-01-08 16:53:07 -0800
commitee52c0ec4e95fa6e5f35c9cd75005a0c0003fd97 (patch)
tree6fe86b6c33f2e9c465065e1adcbaa54cb6369f37 /src
parentda6a00f787e4d13e6b75768c1976f1c44ae5bf72 (diff)
Correct typo resulting in a crash with ivch. = != ==.
Diffstat (limited to 'src')
-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";