ARM: 6679/1: SPEAr: make clk API functions more generic
authorviresh kumar <viresh.kumar@st.com>
Wed, 16 Feb 2011 06:40:31 +0000 (07:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Mar 2011 09:49:45 +0000 (09:49 +0000)
commitcf285434ac0880f94bf4afdd90b06a4655f56570
tree6b7b0f6716c17147e45cca39d01f88570d368eb5
parent5c881d9ae9480171f01921585e1893863d7ab421
ARM: 6679/1: SPEAr: make clk API functions more generic

- Add a dummy clk_set_rate() function.  This is required for compilation
  of a few drivers.
- Make functions in plat-spear/clock.c more generic over all SPEAr
  platforms.
- Add div_factor in struct clk for clks with .recalc = follow_parent
- Change type of register pointers to void __iomem *

Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-spear3xx/clock.c
arch/arm/mach-spear6xx/clock.c
arch/arm/plat-spear/clock.c
arch/arm/plat-spear/include/plat/clock.h