lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 004/100] i2c: st: fix missing struct parameter description
    Date
    From: Alain Volmat <avolmat@me.com>

    [ Upstream commit f491c6687332920e296d0209e366fe2ca7eab1c6 ]

    Fix a missing struct parameter description to allow
    warning free W=1 compilation.

    Signed-off-by: Alain Volmat <avolmat@me.com>
    Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
    Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/i2c/busses/i2c-st.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c
    index 25020ec777c97..ee0a7d3dd0c65 100644
    --- a/drivers/i2c/busses/i2c-st.c
    +++ b/drivers/i2c/busses/i2c-st.c
    @@ -399,6 +399,7 @@ static void st_i2c_wr_fill_tx_fifo(struct st_i2c_dev *i2c_dev)
    /**
    * st_i2c_rd_fill_tx_fifo() - Fill the Tx FIFO in read mode
    * @i2c_dev: Controller's private data
    + * @max: Maximum amount of data to fill into the Tx FIFO
    *
    * This functions fills the Tx FIFO with fixed pattern when
    * in read mode to trigger clock.
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-04-22 12:00    [W:4.065 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site