From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 26 Sep 2012 17:31:09 +0200 Subject: [U-Boot] [PATCH] usb.h: Add udc_disconnect prototype to usb.h In-Reply-To: <1348667065-27138-2-git-send-email-luk0104@gmail.com> References: <1348667065-27138-1-git-send-email-luk0104@gmail.com> <1348667065-27138-2-git-send-email-luk0104@gmail.com> Message-ID: <201209261731.09410.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 Dear Lukasz Dalek, > PXA25x gadget implements common function usb_disconnect(). > This patch adds this function prototype into usb.h for boards using it. [...] > +/* > + * This isn't host > + */ The comment doesn't need to be multiline. It'd be cool if it was meaningful ... like "pxa25x can only do gadget mode, thus the following ... etc". Otherwise, we're basically there. Can you repost the whole patchset please? > +#elif defined(CONFIG_USB_GADGET_PXA2XX) > + > +extern void udc_disconnect(void); > + > #else > #error USB Lowlevel not defined > #endif Best regards, Marek Vasut