Merge "power: qcom: smb135x: change OTG regulator ops to static"

This commit is contained in:
Linux Build Service Account 2017-09-13 00:17:51 -07:00 committed by Gerrit - the friendly Code Review server
commit 6b61088893
2 changed files with 2 additions and 2 deletions

View file

@ -860,7 +860,7 @@ static int smb1351_chg_otg_regulator_is_enable(struct regulator_dev *rdev)
return (reg & CMD_OTG_EN_BIT) ? 1 : 0;
}
struct regulator_ops smb1351_chg_otg_reg_ops = {
static struct regulator_ops smb1351_chg_otg_reg_ops = {
.enable = smb1351_chg_otg_regulator_enable,
.disable = smb1351_chg_otg_regulator_disable,
.is_enabled = smb1351_chg_otg_regulator_is_enable,

View file

@ -2219,7 +2219,7 @@ static int smb135x_chg_otg_regulator_is_enable(struct regulator_dev *rdev)
return (reg & OTG_EN) ? 1 : 0;
}
struct regulator_ops smb135x_chg_otg_reg_ops = {
static struct regulator_ops smb135x_chg_otg_reg_ops = {
.enable = smb135x_chg_otg_regulator_enable,
.disable = smb135x_chg_otg_regulator_disable,
.is_enabled = smb135x_chg_otg_regulator_is_enable,