diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-11-24 02:53:16 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-11-24 02:53:16 +0100 |
commit | c0235754cd95b0f9b4172572007135ec450c5615 (patch) | |
tree | 61669868b8157a637bcd8addae75c0383584a758 /drivers/i2c/busses | |
parent | 5ab53cfeaf1552f45b29f7d036fc5830a751375d (diff) |
Fix i2c-ixp4xx compilation breakage
Fix recent i2c-ixp4xx compilation breakage. Sorry for overlooking it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-ixp4xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ixp4xx.c b/drivers/i2c/busses/i2c-ixp4xx.c index ab3c7673df7..8c506a399c3 100644 --- a/drivers/i2c/busses/i2c-ixp4xx.c +++ b/drivers/i2c/busses/i2c-ixp4xx.c @@ -138,7 +138,7 @@ static int ixp4xx_i2c_probe(struct platform_device *plat_dev) gpio_line_set(gpio->sda_pin, 0); err = i2c_bit_add_bus(&drv_data->adapter); - if (err != 0) + if (err) { printk(KERN_ERR "ERROR: Could not install %s\n", plat_dev->dev.bus_id); kfree(drv_data); |