]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: fix LTO for rockchip and samsung
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:18 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commit79dec66ca7438d8ed339e513c2b93c055ba2b3e8
tree7046618160fdce12641c57788506cea4498e337a
parent9d3918f3fd3cf3b84043ba3490e428abceeabd3d
ARM: fix LTO for rockchip and samsung

When building with LTO, the compiler complains about type mismatch of
function usb_gadget_handle_interrupts(). This function is defined
without parameters in files
  arch/arm/mach-rockchip/board.c
  board/samsung/common/exynos5-dt.c
but it should have one parameter, int index.

Fix this.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/board.c
board/samsung/common/exynos5-dt.c