On Thu, Jan 09, 2014 at 02:56:28PM +0530, Viresh Kumar wrote:
Naah.. After some investigation I found this:
- We already have dummy implementations of clk routines in case
CONFIG_HAVE_CLK is not defined (I added them long back).
- There is one thing common among all above defconfigs, all
belong to SA1100 family :)
- And the problem is: SA1100 wanted to define its own clk routines
and selects CLKDEV_LOOKUP (which enables HAVE_CLK), but it doesn't implement all clk routines. Which is *wrong*.
No, it implements only what it's clk API implementation requires.
@Russell: If above looks correct then can you please communicate what should we do here? I don't really know what exactly these routines should have, simply a copy of dummy routines from clk.h or some meaningful stuff. So, maybe you can write a patch, otherwise let me know what to write and I will give it a try.
I've no idea at the moment, and I don't have time to look at this.