]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
clk: meson: Fix meson_clk_register_clks() signature type mismatch
authorAndreas Färber <afaerber@suse.de>
Sun, 7 Feb 2016 21:13:03 +0000 (22:13 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 8 Feb 2016 22:22:44 +0000 (14:22 -0800)
commitbb473593c8099302bfd7befc23de67df907e3a99
tree340e28a0d6c2c0c455fa3e898af8abc1763db1ff
parent60ea57a4338e9a43741e8136510f63cdb3b8a678
clk: meson: Fix meson_clk_register_clks() signature type mismatch

As preparation for arm64 based mesongxbb, which pulls in this code once
enabling ARCH_MESON, fix a size_t vs. unsigned int type mismatch.
The loop uses a local unsigned int variable, so adopt that type,
matching the header.

Fixes: 7a29a869434e ("clk: meson: Add support for Meson clock controller")
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/meson/clkc.c