From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Date: Fri, 04 Oct 2013 17:48:34 -0700 Subject: [U-Boot] [PATCH v6] usb: new board-specific USB init interface In-Reply-To: <1380907346-31028-1-git-send-email-m.zalega@samsung.com> References: <1375786242-11734-1-git-send-email-m.zalega@samsung.com> <1380907346-31028-1-git-send-email-m.zalega@samsung.com> Message-ID: <524F61E2.5000705@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/4/2013 10:22 AM, Mateusz Zalega wrote: > > +/* > + * You can initialize platform's USB host or device > + * ports by passing this enum as an argument to > + * board_usb_init(). > + */ > +enum board_usb_init_type { > + USB_INIT_HOST, > + USB_INIT_DEVICE > +}; > + > I'm a little late to the game, but can you rename this to just usb_init_type ? I'm wanting to use this as a parameter to usb_lowlevel_init, moving it above the usb_lowlevel_init definition would help me too. Thanks Troy