diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-12-20 05:44:40 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-12-28 12:48:16 +0100 |
commit | 3eff5f67a21997b4a86e0e5062fc72c2347e25bf (patch) | |
tree | 92b137d6af4a2b4e3466fef8c8f74944f26e64d7 /drivers/opp/ti-opp-supply.c | |
parent | 6b3429449ef7874d069703345570e3ca980a7c20 (diff) |
PM / OPP: Make local function ti_opp_supply_set_opp() static
Fixes the following sparse warning:
drivers/opp/ti-opp-supply.c:276:5: warning:
symbol 'ti_opp_supply_set_opp' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/opp/ti-opp-supply.c')
-rw-r--r-- | drivers/opp/ti-opp-supply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/opp/ti-opp-supply.c b/drivers/opp/ti-opp-supply.c index 44dae3e51aac..370eff3acd8a 100644 --- a/drivers/opp/ti-opp-supply.c +++ b/drivers/opp/ti-opp-supply.c @@ -273,7 +273,7 @@ static int _opp_set_voltage(struct device *dev, * * Return: If successful, 0, else appropriate error value. */ -int ti_opp_supply_set_opp(struct dev_pm_set_opp_data *data) +static int ti_opp_supply_set_opp(struct dev_pm_set_opp_data *data) { struct dev_pm_opp_supply *old_supply_vdd = &data->old_opp.supplies[0]; struct dev_pm_opp_supply *old_supply_vbb = &data->old_opp.supplies[1]; |