Message ID | 20191223141934.19837-6-nks@flawful.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 207ca274cd4c46a418ecb250d555d712e387fce8 |
Headers | show |
Series | qcom-cpr fixes for rjw bleeding-edge | expand |
On Mon 23 Dec 06:19 PST 2019, Niklas Cassel wrote: > drivers/power/avs/qcom-cpr.c:1081:15: > warning: no previous prototype for ‘cpr_get_opp_hz_for_req’ > > Detected when running make with W=1. > And now also Reported-by: kbuild test robot <lkp@intel.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> > Signed-off-by: Niklas Cassel <nks@flawful.org> > --- > drivers/power/avs/qcom-cpr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/power/avs/qcom-cpr.c b/drivers/power/avs/qcom-cpr.c > index 484dd498f8b9..9247f53550b3 100644 > --- a/drivers/power/avs/qcom-cpr.c > +++ b/drivers/power/avs/qcom-cpr.c > @@ -1078,8 +1078,8 @@ static unsigned int cpr_get_fuse_corner(struct dev_pm_opp *opp) > return fuse_corner; > } > > -unsigned long cpr_get_opp_hz_for_req(struct dev_pm_opp *ref, > - struct device *cpu_dev) > +static unsigned long cpr_get_opp_hz_for_req(struct dev_pm_opp *ref, > + struct device *cpu_dev) > { > u64 rate = 0; > struct device_node *ref_np; > -- > 2.24.1 >
diff --git a/drivers/power/avs/qcom-cpr.c b/drivers/power/avs/qcom-cpr.c index 484dd498f8b9..9247f53550b3 100644 --- a/drivers/power/avs/qcom-cpr.c +++ b/drivers/power/avs/qcom-cpr.c @@ -1078,8 +1078,8 @@ static unsigned int cpr_get_fuse_corner(struct dev_pm_opp *opp) return fuse_corner; } -unsigned long cpr_get_opp_hz_for_req(struct dev_pm_opp *ref, - struct device *cpu_dev) +static unsigned long cpr_get_opp_hz_for_req(struct dev_pm_opp *ref, + struct device *cpu_dev) { u64 rate = 0; struct device_node *ref_np;
drivers/power/avs/qcom-cpr.c:1081:15: warning: no previous prototype for ‘cpr_get_opp_hz_for_req’ Detected when running make with W=1. Signed-off-by: Niklas Cassel <nks@flawful.org> --- drivers/power/avs/qcom-cpr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)