summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-stp-xway.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-10-16 14:35:21 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-10-16 20:56:19 +0200
commitb76281cb97761002277730432812b1687de96062 (patch)
tree116a3d0d4c12c21444718cca78e60de37d2723fc /drivers/gpio/gpio-stp-xway.c
parentclk: shmobile: mstp: Drop bogus closing parenthesis in error message (diff)
downloadlinux-b76281cb97761002277730432812b1687de96062.tar.xz
linux-b76281cb97761002277730432812b1687de96062.zip
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/gpio/gpio-stp-xway.c')
0 files changed, 0 insertions, 0 deletions