projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0916bd3
)
[PATCH] Fix i2c-ixp4xx compile (missing brace)
author
Jean Delvare
<khali@linux-fr.org>
Thu, 23 Nov 2006 12:28:50 +0000
(13:28 +0100)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Thu, 23 Nov 2006 17:27:49 +0000
(09:27 -0800)
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>
drivers/i2c/busses/i2c-ixp4xx.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-ixp4xx.c
b/drivers/i2c/busses/i2c-ixp4xx.c
index 05fffb9415a2d9566afe73ae930be4267ec735d1..68fe863f9d54b15fbcbd4bf4b75e2bcda94b7757 100644
(file)
--- 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);