Skip to content

Commit f491c66

Browse files
Alain VolmatWolfram Sang
authored andcommitted
i2c: st: fix missing struct parameter description
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]>
1 parent d944b27 commit f491c66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-st.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ static void st_i2c_wr_fill_tx_fifo(struct st_i2c_dev *i2c_dev)
434434
/**
435435
* st_i2c_rd_fill_tx_fifo() - Fill the Tx FIFO in read mode
436436
* @i2c_dev: Controller's private data
437+
* @max: Maximum amount of data to fill into the Tx FIFO
437438
*
438439
* This functions fills the Tx FIFO with fixed pattern when
439440
* in read mode to trigger clock.

0 commit comments

Comments
 (0)