Hi Viresh, On Mon, Jan 6, 2014 at 5:54 PM, Viresh Kumar <viresh.kumar@xxxxxxxxxx> 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 <egtvedt@xxxxxxxxxxxx> > Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx> > Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx> > Acked-by: Stephen Warren <swarren@xxxxxxxxxx> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> > --- > 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 cpufreq" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html