summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-11-23 13:28:50 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-11-23 09:27:49 -0800
commit0b1082efb92eedb28e982cfae526267ebdcf5622 (patch)
tree244c58a3cc62ba0019c0a04f557dd6e3b6d337cf
parent0916bd3ebb7cefdd0f432e8491abe24f4b5a101e (diff)
downloadop-kernel-dev-0b1082efb92eedb28e982cfae526267ebdcf5622.zip
op-kernel-dev-0b1082efb92eedb28e982cfae526267ebdcf5622.tar.gz
[PATCH] Fix i2c-ixp4xx compile (missing brace)
Fix recent i2c-ixp4xx compilation breakage. Sorry for overlooking it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/i2c/busses/i2c-ixp4xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ixp4xx.c b/drivers/i2c/busses/i2c-ixp4xx.c
index 05fffb9..68fe863 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);
OpenPOWER on IntegriCloud