Skip to content

Commit

Permalink
[PATCH] Fix i2c-ixp4xx compile (missing brace)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Nov 23, 2006
1 parent 0916bd3 commit 0b1082e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-ixp4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0b1082e

Please sign in to comment.