]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
i2c: st: fix missing struct parameter description
authorAlain Volmat <avolmat@me.com>
Thu, 26 Mar 2020 21:22:43 +0000 (22:22 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 28 Mar 2020 04:00:36 +0000 (05:00 +0100)
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>
drivers/i2c/busses/i2c-st.c

index 54e1fc8a495e7d1477bb38147fed500f42fa5313..f7f7b5b64720efc530ca0b4c251f04ea6e92fe85 100644 (file)
@@ -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.