summaryrefslogtreecommitdiff
path: root/nuttx/drivers/usbhost
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-11 23:35:36 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-11 23:35:36 +0000
commitbf91815c3fd4be584af323447605624b33932f63 (patch)
tree3f20fc7294bd7fdf20bcd4b5110f1dccb6165cd0 /nuttx/drivers/usbhost
parentdf9cb3ba59cdd40da994ff9ab6b153ef12875d9e (diff)
downloadpx4-nuttx-bf91815c3fd4be584af323447605624b33932f63.tar.gz
px4-nuttx-bf91815c3fd4be584af323447605624b33932f63.tar.bz2
px4-nuttx-bf91815c3fd4be584af323447605624b33932f63.zip
Add a stub that can be used when networking is enabled, but there is no ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3368 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbhost')
-rwxr-xr-xnuttx/drivers/usbhost/usbhost_rtl8187.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_rtl8187.c b/nuttx/drivers/usbhost/usbhost_rtl8187.c
index 87b798c87..22432595d 100755
--- a/nuttx/drivers/usbhost/usbhost_rtl8187.c
+++ b/nuttx/drivers/usbhost/usbhost_rtl8187.c
@@ -1770,25 +1770,3 @@ int usbhost_wlaninit(void)
return usbhost_registerclass(&g_wlan);
}
-#if defined(CONFIG_NET) && defined(CONFIG_NET_WLAN)
-
-/****************************************************************************
- * Name: up_netinitialize
- *
- * Description:
- * Initialize the first network interface. If there are more than one
- * interface in the chip, then board-specific logic will have to provide
- * this function to determine which, if any, Ethernet controllers should
- * be initialized.
- *
- ****************************************************************************/
-
-#ifndef CONFIG_LPC17_ETHERNET
-void up_netinitialize(void)
-{
- /* stub */
-}
-#endif
-
-#endif /* CONFIG_NET && CONFIG_NET_WLAN */
-