Re: [PATCH v2] Fix CONFIG_PM_OPP without CONFIG_OF build failure

From: Viresh Kumar
Date: Thu May 05 2016 - 06:52:22 EST


On 05-05-16, 10:20, Sudeep Holla wrote:
> On Thu, May 5, 2016 at 10:14 AM, Eric Engestrom
> <eric.engestrom@xxxxxxxxxx> wrote:
> > From: Rufus Hamade <rufus.hamade@xxxxxxxxxx>
> >
> > A few `#ifdef CONFIG_OF` were missing, resulting in "unused function"
> > warnings in core.c.
> >
> > Signed-off-by: Rufus Hamade <rufus.hamade@xxxxxxxxxx>
> > Reviewed-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
> > Tested-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
> > ---
> > v2: drop incorrect change in cpu.c (Viresh Kumar)
> >
> > On Thu, May 05, 2016 at 08:31:09AM +0530, Viresh Kumar wrote:
> >> Some things have already changed, can you please rebase on linux-next
> >> and resend this patch?
> >
> > I rebased on top of linux-next (30d0993ec9f6) from the repo
> > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
> > but there were no change (the patch is identical, save for the
> > removed change in cpu.c; not even a line number changed).
> > Which repo did you want me to rebase on?
> >
>
> I posted some changes around this a week ago, I see Rafael has pulled into
> his bleeding-edge[1] patch this morning. If no issue are found, it
> should eventually
> make to linux-next in couple of days.

I have tried to fix all these issues differently, most of you are cc'd
on that patch:

[PATCH] PM / OPP: Move CONFIG_OF dependent code in a separate file

--
viresh