Skip to content

Commit

Permalink
regulator: regulator_get input param add FAR
Browse files Browse the repository at this point in the history
Signed-off-by: dulibo1 <[email protected]>
  • Loading branch information
dulibo1 authored and xiaoxiang781216 committed Aug 28, 2023
1 parent 127bd81 commit e508e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/power/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e508e5c

Please sign in to comment.