Re: [PATCH] clk: socfpga: fix compiler warnings for Cyclone5

2019-04-09 Thread Sascha Hauer
On Mon, Apr 08, 2019 at 03:49:32PM +0100, Ian Abbott wrote: > When building for Cyclone5 SoCFPGA, the socfpga_a10_pll_init(), > socfpga_a10_perith_init() and socfpga_a10_gate_init() functions are > defined as dummy functions returning ERR_PTR(-ENOSYS). They are defined > with external linkage. Wi

[PATCH] clk: socfpga: fix compiler warnings for Cyclone5

2019-04-08 Thread Ian Abbott
When building for Cyclone5 SoCFPGA, the socfpga_a10_pll_init(), socfpga_a10_perith_init() and socfpga_a10_gate_init() functions are defined as dummy functions returning ERR_PTR(-ENOSYS). They are defined with external linkage. With '-Wmissing-prototypes' GCC warns about externally linked function