clk: samsung: s3c64xx: declare s3c64xx_clk_init() in shared header
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 4 Aug 2020 19:26:42 +0000 (21:26 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Aug 2020 16:54:33 +0000 (18:54 +0200)
commitc2fe8ebb332eefb3d0543b248e28dd2992c04793
tree7b9480e53e51e4c69c314f65bc3dfb9201a2f816
parentf73fefa2d98bfbc69b409052f07553bf4c40c148
clk: samsung: s3c64xx: declare s3c64xx_clk_init() in shared header

The s3c64xx_clk_init() is defined and used by the clk-s3c64xx driver and
also used in the mach-s3c64xx machine code.  Move the declaration to a
header to fix W=1 build warning:

    drivers/clk/samsung/clk-s3c64xx.c:391:13: warning: no previous prototype for 's3c64xx_clk_init' [-Wmissing-prototypes]
      391 | void __init s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
MAINTAINERS
arch/arm/mach-s3c64xx/common.c
arch/arm/mach-s3c64xx/common.h
drivers/clk/samsung/clk-s3c64xx.c
include/linux/clk/samsung.h [new file with mode: 0644]