MIPS: lantiq: add clk_round_rate()
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 25 Oct 2015 22:21:42 +0000 (23:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 09:55:24 +0000 (10:55 +0100)
commit4e7d30dba493b60a80e9b590add1b4402265cc83
tree514451ed0ff6a1b9f9a9f298e0333a75e324f817
parentf25319d2cb439249a6859f53ad42ffa332b0acba
MIPS: lantiq: add clk_round_rate()

This adds a basic implementation of clk_round_rate()
The clk_round_rate() function is called by multiple drivers and
subsystems now and the lantiq clk driver is supposed to export this,
but doesn't do so, this causes linking problems like this one:
ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined!

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: John Crispin <blogic@openwrt.org>
Cc: <stable@vger.kernel.org> # 4.1+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11358/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/clk.c