Make naming consistent for USB host initialiation functions

This commit is contained in:
Gregory Nutt 2013-11-29 14:30:43 -06:00
parent e9252b8806
commit 0a11d8767f
6 changed files with 6 additions and 12 deletions

View file

@ -279,7 +279,7 @@ static int nsh_usbhostinitialize(void)
/* Then get an instance of the USB host interface */
message("nsh_usbhostinitialize: Initialize USB host\n");
g_usbconn = usbhost_initialize(0);
g_usbconn = lpc17_usbhost_initialize(0);
if (g_usbconn)
{
/* Start a thread to handle device connection. */

View file

@ -336,7 +336,7 @@ static int nsh_usbhostinitialize(void)
/* Then get an instance of the USB host interface */
message("nsh_usbhostinitialize: Initialize USB host\n");
g_usbconn = usbhost_initialize(0);
g_usbconn = lpc17_usbhost_initialize(0);
if (g_usbconn)
{
/* Start a thread to handle device connection. */

View file

@ -300,7 +300,7 @@ static int nsh_usbhostinitialize(void)
/* Then get an instance of the USB host interface */
message("nsh_usbhostinitialize: Initialize USB host\n");
g_usbconn = usbhost_initialize(0);
g_usbconn = pic32_usbhost_initialize(0);
if (g_usbconn)
{
/* Start a thread to handle device connection. */

View file

@ -308,7 +308,7 @@ static int nsh_usbhostinitialize(void)
/* Then get an instance of the USB host interface */
message("nsh_usbhostinitialize: Initialize USB host\n");
g_usbconn = usbhost_initialize(0);
g_usbconn = pic32_usbhost_initialize(0);
if (g_usbconn)
{
/* Start a thread to handle device connection. */

View file

@ -328,13 +328,7 @@ int sam_usbhost_initialize(void)
udbg("ERROR: Failed to register the KBD class\n");
}
/* Then get an instance of the USB host interface.
*
* REVISIT: This logic needs to be modified. There must be a call-out to
* platform specific logic to get the connection hangle. usbhost_initialize()
* is not longer common to all platforms and is no longer prototyped in
* include/nuttx/usb/usbhost.h.
*/
/* Then get an instance of the USB host interface. */
#ifdef CONFIG_SAMA5_OHCI
/* Get an instance of the USB OHCI interface */

View file

@ -300,7 +300,7 @@ static int nsh_usbhostinitialize(void)
/* Then get an instance of the USB host interface */
message("nsh_usbhostinitialize: Initialize USB host\n");
g_usbconn = usbhost_initialize(0);
g_usbconn = pic32_usbhost_initialize(0);
if (g_usbconn)
{
/* Start a thread to handle device connection. */