diff options
Diffstat (limited to 'src/drivers/i2c/i2cmux')
-rw-r--r-- | src/drivers/i2c/i2cmux/i2cmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/i2cmux/i2cmux.c b/src/drivers/i2c/i2cmux/i2cmux.c index cd68a01ebf..14c52ccfd3 100644 --- a/src/drivers/i2c/i2cmux/i2cmux.c +++ b/src/drivers/i2c/i2cmux/i2cmux.c @@ -34,7 +34,7 @@ static struct device_operations i2cmux_operations = { static void enable_dev(struct device *dev) { - if(dev->links>0) + if(dev->link_list != NULL) dev->ops = &i2cmux_operations; } |