Merge "power: qcom: smb135x: change OTG regulator ops to static"
This commit is contained in:
commit
6b61088893
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue