]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
omap2 clock: convert omap2_clksel_to_divisor and omap2_divisor_to_clksel to use new...
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Aug 2007 08:39:04 +0000 (02:39 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 18:10:10 +0000 (11:10 -0700)
commit37d90a4a30f01ecf90b61742c08868255cf5ddd8
tree44b200b6b74ec31cc473c2f8b05912915bf8187f
parent1f52c722694dc587827e9b1609a4d5e0bbadf06d
omap2 clock: convert omap2_clksel_to_divisor and omap2_divisor_to_clksel to use new clksel struct

Convert omap2_clksel_to_divisor() and omap2_divisor_to_clksel() to use
the new struct clksel and struct clksel_rate data.  Add
omap2_get_clksel_by_parent() utility code, called by both functions,
to return the appropriate struct clksel for a given (struct clk, parent
struct clk) combination.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h