From e508e5c3132b68d5a44362b104dfdc0fabfbbabe Mon Sep 17 00:00:00 2001 From: dulibo1 Date: Mon, 21 Aug 2023 18:49:55 +0800 Subject: [PATCH] regulator: regulator_get input param add FAR Signed-off-by: dulibo1 --- include/nuttx/power/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/power/consumer.h b/include/nuttx/power/consumer.h index edfc750771..4ecd049b36 100644 --- a/include/nuttx/power/consumer.h +++ b/include/nuttx/power/consumer.h @@ -57,7 +57,7 @@ extern "C" * Public Function Prototypes ****************************************************************************/ -FAR struct regulator_s *regulator_get(const char *id); +FAR struct regulator_s *regulator_get(FAR const char *id); void regulator_put(FAR struct regulator_s *regulator); int regulator_is_enabled(FAR struct regulator_s *regulator); int regulator_enable(FAR struct regulator_s *regulator);