]> Git Repo - linux.git/commitdiff
i2c: stm32f7: remove warning when compiling with W=1
authorAlain Volmat <[email protected]>
Tue, 15 Oct 2019 13:11:58 +0000 (15:11 +0200)
committerWolfram Sang <[email protected]>
Thu, 24 Oct 2019 18:52:21 +0000 (20:52 +0200)
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]>
drivers/i2c/busses/i2c-stm32f7.c

index 073bf57a982175ab65e1dead39595cbfd70f26c6..b24e7b937f210bbb9fc5279f386c1f0e6044f528 100644 (file)
@@ -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.
  *
This page took 0.059212 seconds and 4 git commands to generate.