ARM: SA1100: Create dummy clk_get_rate() to avoid build failures
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 9 Jan 2014 15:08:42 +0000 (20:38 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jan 2014 01:00:44 +0000 (02:00 +0100)
commit0ad04fb30db0341d0b1134e2f592d9146c9abb64
treec06c7f5b63be901106ee4557c5be718e3bb5e199
parentb3f9ff88db6e149086dc111e5652106005fd5923
ARM: SA1100: Create dummy clk_get_rate() to avoid build failures

There are some parts of common kernel which would be using routines
like clk_get_rate() on some platforms. Currently, they wouldn't be
called for SA1100 boards, but they are needed for successful kernel
compilation.

Create a dummy clk_get_rate() routine for SA1100 which can be called
by the cpufreq core. More dummy routines might be added later if
necessary.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-sa1100/clock.c