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

This commit is contained in:
Eric Anholt 2007-01-08 16:53:07 -08:00
parent da6a00f787
commit ee52c0ec4e
1 changed files with 1 additions and 1 deletions

View File

@ -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";