summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/src/up_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src/up_usb.c')
-rw-r--r--nuttx/configs/stm3220g-eval/src/up_usb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/up_usb.c b/nuttx/configs/stm3220g-eval/src/up_usb.c
index 7ac062fb5..b16bdb6aa 100644
--- a/nuttx/configs/stm3220g-eval/src/up_usb.c
+++ b/nuttx/configs/stm3220g-eval/src/up_usb.c
@@ -2,7 +2,7 @@
* configs/stm3220g-eval/src/up_usb.c
* arch/arm/src/board/up_usb.c
*
- * Copyright (C) 2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -53,6 +53,7 @@
#include "up_arch.h"
#include "stm32.h"
+#include "stm32_otgfs.h"
#include "stm3220g-internal.h"
#ifdef CONFIG_STM32_OTGFS
@@ -185,7 +186,7 @@ int stm32_usbhost_initialize(void)
/* Then get an instance of the USB host interface */
uvdbg("Initialize USB host\n");
- g_drvr = usbhost_initialize(0);
+ g_drvr = stm32_otgfshost_initialize(0);
if (g_drvr)
{
/* Start a thread to handle device connection. */