]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
h2200: Fix build error
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 21 Aug 2015 05:32:04 +0000 (11:02 +0530)
committerMarek Vasut <marex@denx.de>
Mon, 7 Sep 2015 11:41:04 +0000 (13:41 +0200)
commitcc4f1558a72621b1ac766e54e1ab5aab824bb7dd
treed69c19f7b0cf8572dceaf471d4ebc7060b529235
parenta7e6892ffb625e5a335538f937d56005aa1480c5
h2200: Fix build error

Commit <8bfc288c3955> ("usb: gadget: ether: Perform board
initialization from ethernet gadget driver") added board_usb_init
and board_usb_cleanup in ethernet gadget driver. But h2200 board
didn't have board_usb_init and board_usb_cleanup implementations.

This introduced the following build errors
+drivers/usb/gadget/built-in.o: In function `usb_eth_halt':
+drivers/usb/gadget/ether.c:2498: undefined reference to `board_usb_cleanup'
+drivers/usb/gadget/built-in.o: In function `usb_eth_init':
+drivers/usb/gadget/ether.c:2316: undefined reference to `board_usb_init'

Fix it here by adding empty board_usb_init and board_usb_cleanup
functions in h2200.c.

Fixes: <8bfc288c3955> ("usb: gadget: ether: Perform board
initialization from ethernet gadget driver")

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
board/h2200/h2200.c