Skip to content

Commit 348e46f

Browse files
avolmat-stWolfram Sang
authored andcommitted
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: aeb068c ("i2c: i2c-stm32f7: add driver") Signed-off-by: Alain Volmat <[email protected]> Reviewed-by: Pierre-Yves MORDRET <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 6d6b0d0 commit 348e46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-stm32f7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ struct stm32f7_i2c_dev {
305305
struct regmap *regmap;
306306
};
307307

308-
/**
308+
/*
309309
* All these values are coming from I2C Specification, Version 6.0, 4th of
310310
* April 2014.
311311
*

0 commit comments

Comments
 (0)