summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-axm5516.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-03-14 12:07:09 +0100
committerArnd Bergmann <arnd@arndb.de>2021-04-09 09:24:30 +0200
commit36841008059caec9667459a7e126efac6379676b (patch)
tree2ea71edb0636140012db25b83b7483e16daf7e92 /drivers/clk/clk-axm5516.c
parentd60f314b93b637e9721c406f5a61cf2157e59b48 (diff)
downloadlwn-36841008059caec9667459a7e126efac6379676b.tar.gz
lwn-36841008059caec9667459a7e126efac6379676b.zip
clk: socfpga: fix iomem pointer cast on 64-bit
Pointers should be cast with uintptr_t instead of integer. This fixes warning when compile testing on ARM64: drivers/clk/socfpga/clk-gate.c: In function ‘socfpga_clk_recalc_rate’: drivers/clk/socfpga/clk-gate.c:102:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Fixes: b7cec13f082f ("clk: socfpga: Look for the GPIO_DB_CLK by its offset") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Acked-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/clk/clk-axm5516.c')
0 files changed, 0 insertions, 0 deletions