]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: kona: fix clk_bsc_enable() type mismatch for LTO
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:15 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commit3cd7541f932164db34c82748dc5ead4020a0eb2e
tree42cca72c163f177b707a1a8c135c51ba4ff40a86
parent9493e96e54eafa67df9b4f26e4cca4b68d167dbb
ARM: kona: fix clk_bsc_enable() type mismatch for LTO

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@nic.cz>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/arm/cpu/armv7/kona-common/clk-stubs.c