mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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: aeb068c572
("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>
This commit is contained in:
parent
6d6b0d0d5a
commit
348e46fbb4
@ -305,7 +305,7 @@ struct stm32f7_i2c_dev {
|
||||
struct regmap *regmap;
|
||||
};
|
||||
|
||||
/**
|
||||
/*
|
||||
* All these values are coming from I2C Specification, Version 6.0, 4th of
|
||||
* April 2014.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user