]> git.sur5r.net Git - u-boot/commit
rockchip: rk3328: don't implement usb_gadget_handle_interrupts twice
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 6 Jun 2017 13:42:28 +0000 (15:42 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 8 Jun 2017 03:12:52 +0000 (21:12 -0600)
commita6b08c96771014cf048d0eb3a4fb66cf45968afb
tree1c4e3740871d48c423074a256d08efdef5fdc541
parentd3cb14b910aafd6cc64b49dc26874bf6ab449b98
rockchip: rk3328: don't implement usb_gadget_handle_interrupts twice

The usb_gadget_handle_interrupts()-function is already implemented by
drivers/usb/gadget/dwc2_udc_otg.c, so we need to avoid defining it
in the evb-rk3328.c board-specific file.

This change fixes the following build error (from buildman):
  drivers/usb/gadget/built-in.o: In function `usb_gadget_handle_interrupts':
  build/../drivers/usb/gadget/dwc2_udc_otg.c:850: multiple definition of `usb_gadget_handle_interrupts'
  board/rockchip/evb_rk3328/built-in.o:build/../board/rockchip/evb_rk3328/evb-rk3328.c:37: first defined here
  make[1]: *** [u-boot] Error 1

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
board/rockchip/evb_rk3328/evb-rk3328.c