Skip to content

Commit 153262b

Browse files
committed
regulator: rk808: make rk8xx_is_enabled_wmsk_regmap static
The function rk8xx_is_enabled_wmsk_regmap is local to the source and does not need to be in global scope, so make it static. drivers/regulator/rk808-regulator.c:714:5: warning: no previous prototype for 'rk8xx_is_enabled_wmsk_regmap' [-Wmissing-prototypes] Change-Id: Iad140bc1acba548caee1a333a9ed1f846ec06b27 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent 8c3abba commit 153262b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/rk808-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ static unsigned int rk8xx_get_mode(struct regulator_dev *rdev)
711711
return REGULATOR_MODE_NORMAL;
712712
}
713713

714-
int rk8xx_is_enabled_wmsk_regmap(struct regulator_dev *rdev)
714+
static int rk8xx_is_enabled_wmsk_regmap(struct regulator_dev *rdev)
715715
{
716716
unsigned int val;
717717
int ret;

0 commit comments

Comments
 (0)