]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: stm32f7: remove warning when compiling with W=1
authorAlain Volmat <alain.volmat@st.com>
Tue, 15 Oct 2019 13:11:58 +0000 (15:11 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 24 Oct 2019 18:52:21 +0000 (20:52 +0200)
commita4e1458ed1e8abbb5699d7c6f586ec030db75812
tree62c92a74cd6b94b19fd60d77bf1150123763b565
parent734b45ea1a212d8daf27c7e1905ecbf78b1f8d3f
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: f2fb270c4b71 ("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>
drivers/i2c/busses/i2c-stm32f7.c