Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [PATCH] cpufreq: Fix build error on some platforms that use cpufreq_for_each_* | Date | Thu, 08 May 2014 13:33:59 +0200 |
| |
On Thursday, May 08, 2014 10:27:15 AM Geert Uytterhoeven wrote: > Hi Stratos, > > On Wed, May 7, 2014 at 6:33 PM, Stratos Karafotis <stratosk@semaphore.gr> wrote: > > On platforms that use cpufreq_for_each_* macros, build fails if > > CONFIG_CPU_FREQ=n, e.g. ARM/shmobile/koelsch/non-multiplatform: > > > > drivers/built-in.o: In function `clk_round_parent': > > clkdev.c:(.text+0xcf168): undefined reference to `cpufreq_next_valid' > > drivers/built-in.o: In function `clk_rate_table_find': > > clkdev.c:(.text+0xcf820): undefined reference to `cpufreq_next_valid' > > make[3]: *** [vmlinux] Error 1 > > > > Fix this making cpufreq_next_valid function inline and move it to > > cpufreq.h. > > Thanks! > > > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> > > Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> > > Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> >
Applied, thanks!
-- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
| |