projects/linux·commit 348e46fb

i2c: stm32f7: remove warning when compiling with W=1

348e46fb · Alain Volmat <[email protected]> · 2019-10-15 15:11:58 +02:00

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 <[email protected]>
Reviewed-by: Pierre-Yves MORDRET <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Commit
348e46fbb4cdb2aead79aee1fd8bb25ec5fd25db
Parents
6d6b0d0d

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/i2c/busses/i2c-stm32f7.cmodified+1−1View file

drivers/i2c/busses/i2c-stm32f7.c

View file
diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c
index 073bf57..b24e7b9 100644
--- a/drivers/i2c/busses/i2c-stm32f7.c
+++ b/drivers/i2c/busses/i2c-stm32f7.c
@@ -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.
*