toolchain/ghs: ioexpander_dev_s "declaration is not visible outside of function" warning
CC: serial/serial_io.c "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/nuttx/power/regulator.h", line 227: warning #231-D: declaration is not visible outside of function int regulator_gpio_init(FAR struct ioexpander_dev_s *iodev, Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
This commit is contained in:
parent
edce454d55
commit
91e341dbda
|
@ -221,6 +221,7 @@ void regulator_unregister(FAR struct regulator_dev_s *rdev);
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
struct ioexpander_dev_s;
|
||||||
int regulator_gpio_init(FAR struct ioexpander_dev_s *iodev,
|
int regulator_gpio_init(FAR struct ioexpander_dev_s *iodev,
|
||||||
FAR const struct regulator_desc_s *desc);
|
FAR const struct regulator_desc_s *desc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue