This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit e508e5c3132b68d5a44362b104dfdc0fabfbbabe
Author: dulibo1 <duli...@xiaomi.com>
AuthorDate: Mon Aug 21 18:49:55 2023 +0800

    regulator: regulator_get input param add FAR
    
    Signed-off-by: dulibo1 <duli...@xiaomi.com>
---
 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);

Reply via email to