* [PATCH] i2c-designware: i2c_dw_xfer_msg can be static
@ 2012-09-30 12:04 Jean Delvare
[not found] ` <20120930140451.6701adaf-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2012-09-30 12:04 UTC (permalink / raw)
To: Linux I2C; +Cc: Dirk Brandewie
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-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Dirk Brandewie <dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/i2c/busses/i2c-designware-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-3.6-rc7.orig/drivers/i2c/busses/i2c-designware-core.c 2012-09-30 13:49:56.000000000 +0200
+++ linux-3.6-rc7/drivers/i2c/busses/i2c-designware-core.c 2012-09-30 13:50:09.893408917 +0200
@@ -370,7 +370,7 @@ static void i2c_dw_xfer_init(struct dw_i
* 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;
--
Jean Delvare
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-01 2:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-30 12:04 [PATCH] i2c-designware: i2c_dw_xfer_msg can be static Jean Delvare
[not found] ` <20120930140451.6701adaf-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-10-01 2:12 ` Dirk Brandewie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox