summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-sun8i-apb0.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-02 09:47:11 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-11 18:17:04 +0100
commit5b5226d17df6175f1f0dd1a1a37e36770ed00116 (patch)
tree25d5529085e4fc317f82230a0ec42607d9c2ebf4 /drivers/clk/sunxi/clk-sun8i-apb0.c
parentclk: sunxi: Make clocks setup functions return their clock (diff)
downloadlinux-5b5226d17df6175f1f0dd1a1a37e36770ed00116.tar.xz
linux-5b5226d17df6175f1f0dd1a1a37e36770ed00116.zip
clk: sunxi: Make clocks setup functions take const pointer
All the data structure that we pass to the clocks setup functions are declared const, while our setup functions expects a regular pointer. This was hidden by the fact that we cast a void * pointer back to these structures, which made it go unnoticed. Fix the functions prototype. Acked-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun8i-apb0.c')
0 files changed, 0 insertions, 0 deletions