Messages in this thread | | | Date | Tue, 1 Sep 2015 15:51:15 -0700 | From | Stephen Boyd <> | Subject | Re: [PATCH V2 Resend 3/5] PM / OPP: Move opp core to its own directory |
| |
On 09/01, Viresh Kumar wrote: > OPP code is expanding and is already present in multiple directories > (cpufreq and power). Lets move it to its own directory, to manage it > better. > > This also moves/renames the cpufreq_opp file to cpu.c, as it will > contain helpers for cpu device. Its not just about cpufreq, other > frameworks can use OPPs as well. > > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
> diff --git a/drivers/base/power/opp/Makefile b/drivers/base/power/opp/Makefile > new file mode 100644 > index 000000000000..33c1e18c41a4 > --- /dev/null > +++ b/drivers/base/power/opp/Makefile > @@ -0,0 +1,2 @@ > +ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
It's odd that we use CONFIG_DEBUG_DRIVER here when that's talking about debugging the driver core. I wonder why this wouldn't be some OPP specific debug config option instead. But that was already there before so this topic is for another patch.
-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
| |