Re: [PATCH 1/3] clk: imx: Declare clock init functions in header acessible from mach

2020-09-05 Thread Shawn Guo
On Wed, Sep 02, 2020 at 05:02:42PM +0200, Krzysztof Kozlowski wrote: > Multiple files from arch/arm/mach-imx/ use clock init functions which > are defined in the IMX clock drivers. Declare them in globally > accessible header to fix GCC warnings: > > drivers/clk/imx/clk-imx21.c:122:74:

[PATCH 1/3] clk: imx: Declare clock init functions in header acessible from mach

2020-09-02 Thread Krzysztof Kozlowski
Multiple files from arch/arm/mach-imx/ use clock init functions which are defined in the IMX clock drivers. Declare them in globally accessible header to fix GCC warnings: drivers/clk/imx/clk-imx21.c:122:74: warning: no previous prototype for 'mx21_clocks_init' [-Wmissing-prototypes]