Re: [PATCH 2/8][Version 2] MPC5121 clock driver

2008-06-24 Thread David Jander
On Tuesday 24 June 2008 23:24:26 John Rigby wrote: > --- /dev/null > +++ b/arch/powerpc/platforms/512x/clock.c >[...] > +static void ref_clk_calc(struct clk *clk) > +{ > + unsigned long rate; > + > + rate = devtree_getfreq("bus-frequency"); > + if (rate == 0) { > + printk(

[PATCH 2/8][Version 2] MPC5121 clock driver

2008-06-24 Thread John Rigby
Implements the api defined in include/clk.h Current only getting frequencies is supported not setting. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/platforms/512x/Makefile |1 + arch/powerpc/platforms/512x/clock.c | 720 ++ 2 files changed,