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>
Wed, 11 Nov 2015 07:36:48 +0000 (08:36 +0100)
commit500fab97c682f3264eb7f96c22575d70cce6b2b4
treefb174a1686fdaeadfb4335ac537d7711ab38a188
parente1e1611598148e03c6d65e6c23338f4ff2cee71e
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