Skip to content

Commit

Permalink
i2c: st: fix missing struct parameter description
Browse files Browse the repository at this point in the history
Fix a missing struct parameter description to allow
warning free W=1 compilation.

Signed-off-by: Alain Volmat <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Alain Volmat authored and Wolfram Sang committed Mar 28, 2020
1 parent d944b27 commit f491c66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-st.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,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.
Expand Down

0 comments on commit f491c66

Please sign in to comment.