Same conversion as with resources from static arrays to lists, except
[coreboot.git] / src / drivers / i2c / i2cmux2 / i2cmux2.c
index 4d2eeb99e62e57a20cf4d903d7473e568e6f59ff..c0f8e7087829e10517b7ed4c2001993120462a60 100644 (file)
@@ -33,7 +33,7 @@ static struct device_operations i2cmux2_operations = {
 
 static void enable_dev(struct device *dev)
 {
-       if(dev->links>0)
+       if(dev->link_list != NULL)
                dev->ops = &i2cmux2_operations;
 }