summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-11-29 14:30:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-11-29 14:31:44 -0600
commit245fe657c992232dfa674fb5f4ba1e7de261c459 (patch)
treed35d5636326daddbffbd2c7019193e5390e0058f /nuttx/configs
parentd01744da847c701c5f31c5fd3c5c890d0b930811 (diff)
downloadpx4-nuttx-245fe657c992232dfa674fb5f4ba1e7de261c459.tar.gz
px4-nuttx-245fe657c992232dfa674fb5f4ba1e7de261c459.tar.bz2
px4-nuttx-245fe657c992232dfa674fb5f4ba1e7de261c459.zip
Make naming consistent for USB host initialiation functions
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/olimex-lpc1766stk/src/up_nsh.c2
-rw-r--r--nuttx/configs/open1788/src/lpc17_nsh.c2
-rw-r--r--nuttx/configs/pic32-starterkit/src/up_nsh.c2
-rw-r--r--nuttx/configs/pic32mx7mmb/src/up_nsh.c2
-rw-r--r--nuttx/configs/sama5d3x-ek/src/sam_usb.c8
-rw-r--r--nuttx/configs/sure-pic32mx/src/pic32mx_nsh.c2
6 files changed, 6 insertions, 12 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c b/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c
index d74ec7c8a..7a124c29a 100644
--- a/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c
+++ b/nuttx/configs/olimex-lpc1766stk/src/up_nsh.c
@@ -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. */
diff --git a/nuttx/configs/open1788/src/lpc17_nsh.c b/nuttx/configs/open1788/src/lpc17_nsh.c
index a1899501e..18ec04667 100644
--- a/nuttx/configs/open1788/src/lpc17_nsh.c
+++ b/nuttx/configs/open1788/src/lpc17_nsh.c
@@ -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. */
diff --git a/nuttx/configs/pic32-starterkit/src/up_nsh.c b/nuttx/configs/pic32-starterkit/src/up_nsh.c
index f0731b8f4..4eda69bda 100644
--- a/nuttx/configs/pic32-starterkit/src/up_nsh.c
+++ b/nuttx/configs/pic32-starterkit/src/up_nsh.c
@@ -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. */
diff --git a/nuttx/configs/pic32mx7mmb/src/up_nsh.c b/nuttx/configs/pic32mx7mmb/src/up_nsh.c
index 5647702fc..e70ba5667 100644
--- a/nuttx/configs/pic32mx7mmb/src/up_nsh.c
+++ b/nuttx/configs/pic32mx7mmb/src/up_nsh.c
@@ -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. */
diff --git a/nuttx/configs/sama5d3x-ek/src/sam_usb.c b/nuttx/configs/sama5d3x-ek/src/sam_usb.c
index 3d7d2f48e..556ee2cf1 100644
--- a/nuttx/configs/sama5d3x-ek/src/sam_usb.c
+++ b/nuttx/configs/sama5d3x-ek/src/sam_usb.c
@@ -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 */
diff --git a/nuttx/configs/sure-pic32mx/src/pic32mx_nsh.c b/nuttx/configs/sure-pic32mx/src/pic32mx_nsh.c
index f36830fcb..43994595c 100644
--- a/nuttx/configs/sure-pic32mx/src/pic32mx_nsh.c
+++ b/nuttx/configs/sure-pic32mx/src/pic32mx_nsh.c
@@ -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. */