]> Git Repo - linux.git/commit
clk: sunxi: Make clocks setup functions take const pointer
authorMaxime Ripard <[email protected]>
Tue, 2 Feb 2016 08:47:11 +0000 (09:47 +0100)
committerMaxime Ripard <[email protected]>
Thu, 11 Feb 2016 17:17:04 +0000 (18:17 +0100)
commit5b5226d17df6175f1f0dd1a1a37e36770ed00116
tree25d5529085e4fc317f82230a0ec42607d9c2ebf4
parent96f185ac9a90264463254366f45d7b46482eec96
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 <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
drivers/clk/sunxi/clk-sunxi.c
This page took 0.048714 seconds and 4 git commands to generate.