summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Volmat <avolmat@me.com>2020-03-26 22:22:43 +0100
committerWolfram Sang <wsa@the-dreams.de>2020-03-28 05:00:36 +0100
commitf491c6687332920e296d0209e366fe2ca7eab1c6 (patch)
treeb7237cffd4ed268248d918f8ee9f72d16247cf8c
parentd944b27df121e2ee854a6c2fad13d6c6300792d4 (diff)
downloadlinux-stable-f491c6687332920e296d0209e366fe2ca7eab1c6.tar.gz
linux-stable-f491c6687332920e296d0209e366fe2ca7eab1c6.tar.bz2
linux-stable-f491c6687332920e296d0209e366fe2ca7eab1c6.zip
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 <avolmat@me.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/i2c/busses/i2c-st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c
index 54e1fc8a495e..f7f7b5b64720 100644
--- a/drivers/i2c/busses/i2c-st.c
+++ b/drivers/i2c/busses/i2c-st.c
@@ -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.