From 4c8ed6b266bdba31ee6399820b619c33b0cad6cb Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 29 Sep 2008 17:24:31 +0000 Subject: [PATCH] USB fixes for clean compilation git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@959 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/common/up_internal.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/src/common/up_internal.h b/arch/arm/src/common/up_internal.h index 491efc1f10..76313b31d7 100644 --- a/arch/arm/src/common/up_internal.h +++ b/arch/arm/src/common/up_internal.h @@ -182,6 +182,15 @@ extern void up_netinitialize(void); #else # define up_netinitialize() #endif + + +#ifdef CONFIG_USBDEV +extern void up_usbinitialize(void); +extern void up_usbuninitialize(void); +#else +# define up_netinitialize() +#endif + #endif /* __ASSEMBLY__ */ #endif /* __UP_INTERNAL_H */