diff options
author | Alain Volmat <alain.volmat@st.com> | 2019-10-15 09:11:58 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-10-24 14:52:21 -0400 |
commit | 348e46fbb4cdb2aead79aee1fd8bb25ec5fd25db (patch) | |
tree | 62c92a74cd6b94b19fd60d77bf1150123763b565 | |
parent | 6d6b0d0d5afc8c4c84b08261260ba11dfa5206f2 (diff) |
i2c: stm32f7: remove warning when compiling with W=1
Remove the following warning:
drivers/i2c/busses/i2c-stm32f7.c:315:
warning: cannot understand function prototype:
'struct stm32f7_i2c_spec i2c_specs[] =
Replace a comment starting with /** by simply /* to avoid having
it interpreted as a kernel-doc comment.
Fixes: aeb068c57214 ("i2c: i2c-stm32f7: add driver")
Signed-off-by: Alain Volmat <alain.volmat@st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/i2c/busses/i2c-stm32f7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c index 073bf57a9821..b24e7b937f21 100644 --- a/drivers/i2c/busses/i2c-stm32f7.c +++ b/drivers/i2c/busses/i2c-stm32f7.c | |||
@@ -305,7 +305,7 @@ struct stm32f7_i2c_dev { | |||
305 | struct regmap *regmap; | 305 | struct regmap *regmap; |
306 | }; | 306 | }; |
307 | 307 | ||
308 | /** | 308 | /* |
309 | * All these values are coming from I2C Specification, Version 6.0, 4th of | 309 | * All these values are coming from I2C Specification, Version 6.0, 4th of |
310 | * April 2014. | 310 | * April 2014. |
311 | * | 311 | * |