drivers/clk/ingenic/power-gate.c: In function 'power_gate_endisable':
drivers/clk/ingenic/power-gate.c:92:2: error: implicit declaration of function 'clk_writel'; did you mean 'vfs_write'? [-Werror=implicit-function-declaration]
clk_writel(reg, gate->reg);
^~~~~~~~~~
vfs_write
commit 5834fd75e6236605da8c439a64eaa33f3c8d02fe
Author: Jonas Gorski <jonas.gorski@gmail.com>
Date: Thu Apr 18 13:12:11 2019 +0200
clk: core: replace clk_{readl,writel} with {readl,writel}
Now that clk_{readl,writel} is just an alias for {readl,writel}, we can
switch all users of clk_* to use the accessors directly and remove the
helpers.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
[sboyd@kernel.org: Also convert renesas file so that this can be
compile independently]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
- return clk_readl(divider->reg);
+ return readl(divider->reg);