[PATCH u-boot 32/39] ARM: fix LTO for rockchip and samsung

Bin Meng bmeng.cn at gmail.com
Wed Mar 10 06:25:43 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 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 at nic.cz>
> ---
>  arch/arm/mach-rockchip/board.c    | 2 +-
>  board/samsung/common/exynos5-dt.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

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


More information about the U-Boot mailing list