From 861253baf26635b4bc6f8092bbddaaebbabc09dd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 11 Aug 2013 17:11:32 -0600 Subject: Add untested OHCI driver for the SAMA5; structure naming and header files for USB host initialization prototypes --- nuttx/configs/stm3220g-eval/src/up_usb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nuttx/configs/stm3220g-eval/src') 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 * * 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. */ -- cgit v1.2.3