diff options
| author | Geert Uytterhoeven <[email protected]> | 2018-06-11 10:44:22 +0200 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2018-06-28 14:28:59 -0700 |
| commit | 6b5939d2e528525a1514adabe635f5f8f7328744 (patch) | |
| tree | 370ffa6064a0be9a271573c0898f28aa34d623bb /tools/perf/scripts/python/netdev-times.py | |
| parent | 344ebf09949c31bcb8818d8458b65add29f1d67b (diff) | |
MIPS: AR7: Normalize clk API
Coldfire still 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_round_rate(), clk_set_rate(),
clk_set_parent(), or clk_get_parent() functions when a platform lacks
those interfaces.
This adds empty stub implementations for each of them, and I don't even
try to do something useful here but instead just print a WARN() message
to make it obvious what is going on if they ever end up being called.
The drivers that call these won't be used on these platforms (otherwise
we'd get a link error today), so the added code is harmless bloat and
will warn about accidental use.
Based on commit bd7fefe1f06ca6cc ("ARM: w90x900: normalize clk API").
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/19503/
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions