From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 24 Aug 2015 20:42:19 +0200 Subject: [U-Boot] [PATCH] h2200: Fix build error In-Reply-To: <1440135124-9379-1-git-send-email-kishon@ti.com> References: <1440135124-9379-1-git-send-email-kishon@ti.com> Message-ID: <201508242042.19989.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, August 21, 2015 at 07:32:04 AM, Kishon Vijay Abraham I wrote: > 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 Applied, thanks. Best regards, Marek Vasut