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:
yanghuatao 2024-04-23 20:30:46 +08:00 committed by Xiang Xiao
parent edce454d55
commit 91e341dbda
1 changed files with 1 additions and 0 deletions

View File

@ -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,
FAR const struct regulator_desc_s *desc);