[PATCH u-boot 29/39] ARM: kona: fix clk_bsc_enable() type mismatch for LTO

Bin Meng bmeng.cn at gmail.com
Wed Mar 10 06:29:04 CET 2021


On Sun, Mar 7, 2021 at 12:26 PM Marek Behún <marek.behun at nic.cz> wrote:
>
> When building with LTO, the compiler complains about type mismatch of
> function clk_bsc_enable() in file:
>   arch/arm/cpu/armv7/kona-common/clk-stubs.c
> vs other files that define or use this function:
>   warning: type of ‘clk_bsc_enable’ does not match original declaration.
>
> Change the type of this function to that of the other usages.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
>  arch/arm/cpu/armv7/kona-common/clk-stubs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list