Re: [PATCH] i2c-designware: i2c_dw_xfer_msg can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 30, 2012 at 5:04 AM, Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxx>
> Cc: Dirk Brandewie <dirk.brandewie@xxxxxxxxx>

Ack

Not sure how it got dropped sorry

> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux