mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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>
This commit is contained in:
@@ -711,7 +711,7 @@ static unsigned int rk8xx_get_mode(struct regulator_dev *rdev)
|
||||
return REGULATOR_MODE_NORMAL;
|
||||
}
|
||||
|
||||
int rk8xx_is_enabled_wmsk_regmap(struct regulator_dev *rdev)
|
||||
static int rk8xx_is_enabled_wmsk_regmap(struct regulator_dev *rdev)
|
||||
{
|
||||
unsigned int val;
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user