]> www.infradead.org Git - users/hch/misc.git/commit
clk: ingenic: Use const pointer to clk_ops in struct
authorPaul Cercueil <paul@crapouillou.net>
Tue, 16 Jan 2018 15:47:51 +0000 (16:47 +0100)
committerJames Hogan <jhogan@kernel.org>
Thu, 18 Jan 2018 22:04:36 +0000 (22:04 +0000)
commitee1f9df26972fd736e0b2f52ad19935046bbc189
treeb29774e83cc0d91ed9ecd7c02c856c14aaff22d2
parent83aa53eb5f34f48e6ff24aee02f879b50c949982
clk: ingenic: Use const pointer to clk_ops in struct

The CGU common code does not modify the pointed clk_ops structure, so it
should be marked as const.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Maarten ter Huurne <maarten@treewalker.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18476/
Signed-off-by: James Hogan <jhogan@kernel.org>
drivers/clk/ingenic/cgu.h
drivers/clk/ingenic/jz4780-cgu.c