diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-10-16 14:35:21 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-16 11:56:19 -0700 |
commit | b76281cb97761002277730432812b1687de96062 (patch) | |
tree | 116a3d0d4c12c21444718cca78e60de37d2723fc /drivers/clk/bcm | |
parent | 08ebdf80dc9d3a12cb1f4a0e32c1ddf16a59b5ce (diff) | |
download | linux-b76281cb97761002277730432812b1687de96062.tar.bz2 |
clk: Make clk input parameter of __clk_get_name() const
When calling __clk_get_name() on a const clock:
warning: passing argument 1 of '__clk_get_name' discards 'const' qualifier from pointer target type
include/linux/clk-provider.h:613:13: note: expected 'struct clk *' but argument is of type 'const struct clk *'
__clk_get_name() does not modify the passed clock, hence make it const.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/bcm')
0 files changed, 0 insertions, 0 deletions