Skip to content
Snippets Groups Projects
Commit 0b1082ef authored by Jean Delvare's avatar Jean Delvare Committed by Linus Torvalds
Browse files

[PATCH] Fix i2c-ixp4xx compile (missing brace)


Fix recent i2c-ixp4xx compilation breakage. Sorry for overlooking it.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0916bd3e
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,7 @@ static int ixp4xx_i2c_probe(struct platform_device *plat_dev) ...@@ -138,7 +138,7 @@ static int ixp4xx_i2c_probe(struct platform_device *plat_dev)
gpio_line_set(gpio->sda_pin, 0); gpio_line_set(gpio->sda_pin, 0);
err = i2c_bit_add_bus(&drv_data->adapter); 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); printk(KERN_ERR "ERROR: Could not install %s\n", plat_dev->dev.bus_id);
kfree(drv_data); kfree(drv_data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment