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:
401e72b
)
i2c-designware: i2c_dw_xfer_msg can be static
author
Jean Delvare
<khali@linux-fr.org>
Fri, 5 Oct 2012 20:23:53 +0000
(22:23 +0200)
committer
Jean Delvare
<khali@endymion.delvare>
Fri, 5 Oct 2012 20:23:53 +0000
(22:23 +0200)
i2c_dw_xfer_msg is only called internally so it can be static. It
original was, before the driver split. No idea why it was changed at
that time.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Dirk Brandewie <dirk.brandewie@gmail.com>
drivers/i2c/busses/i2c-designware-core.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-designware-core.c
b/drivers/i2c/busses/i2c-designware-core.c
index 7b8ebbefb581156ee8dd795cd6c4d458e37367f7..cbba7db9ad594df3cd10a37e6fa8b16fc456f817 100644
(file)
--- a/
drivers/i2c/busses/i2c-designware-core.c
+++ b/
drivers/i2c/busses/i2c-designware-core.c
@@
-370,7
+370,7
@@
static void i2c_dw_xfer_init(struct dw_i2c_dev *dev)
* messages into the tx buffer. Even if the size of i2c_msg data is
* longer than the size of the tx buffer, it handles everything.
*/
-void
+
static
void
i2c_dw_xfer_msg(struct dw_i2c_dev *dev)
{
struct i2c_msg *msgs = dev->msgs;