Hi Viresh, On Mon, Jan 6, 2014 at 5:54 PM, Viresh Kumar <viresh.ku...@linaro.org> wrote: > CPUFreq drivers that use clock frameworks interface,i.e. clk_get_rate(), to > get > CPUs clk rate, has similar sort of code used for most of them. > > This patch adds a generic ->get() which will do the same thing for them. All > those drivers are required to now is to set .get to cpufreq_generic_get() and > set their clk pointer in policy->clk during ->init(). > > Acked-by: Hans-Christian Egtvedt <egtv...@samfundet.no> > Acked-by: Shawn Guo <shawn....@linaro.org> > Acked-by: Linus Walleij <linus.wall...@linaro.org> > Acked-by: Shawn Guo <shawn....@linaro.org> > Acked-by: Stephen Warren <swar...@nvidia.com> > Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org> > --- > Rafael, > > V2->V3: As asked by you earlier, I have merged all 23 patches here as they had > common log and were touching separate drivers. This is already acked by many > people. Please see if looks okay for 3.14.
This patch breaks a bunch of ARM boards. In particular, the following defconfigs no longer build: assabet_defconfig badge4_defconfig cerfcube_defconfig collie_defconfig h3600_defconfig hackkit_defconfig jornada720_defconfig lart_defconfig neponset_defconfig pleb_defconfig shannon_defconfig simpad_defconfig Error is: drivers/built-in.o: In function `cpufreq_generic_get': drivers/cpufreq/cpufreq.c:189: undefined reference to `clk_get_rate' Seems like this needs to be guarded by HAVE_CLK? -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/