diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-01-28 21:17:41 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-07-27 13:15:50 +0200 |
commit | 77a374c29992b1a0e2f4a6e2867324c4de6e23c4 (patch) | |
tree | 3b40854e5b7a940cf1c8e02e0a9806394ea5d6fc /arch/arm/mach-ep93xx | |
parent | 31d5cf1476a09c95d8f5c2d1d77fa57f7d802b52 (diff) |
ARM: sa1100: normalize clk API
sa1100 provides its own variant of the clk API rather than using the
generic COMMON_CLK API. This generally works, but it causes some link
errors with drivers using the clk_set_rate, clk_get_parent, clk_set_parent
or clk_round_rate functions when a platform lacks those interfaces.
This adds trivial stub implementations for each of them, based on
the behavior of the COMMON_CLK implementation:
- set_rate() and set_parent() report success without doing anything
- round_rate() returns the clk rate
- get_parent() returns NULL.
This adds the minimal bloat and should do the right thing for
the simple clock hardware in this SoC.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ep93xx')
0 files changed, 0 insertions, 0 deletions