summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/usb/usbhost.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-08-13 14:12:27 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-08-13 14:12:27 -0600
commit61c04ffffaf6cf9024d740c04443e66c6fff500e (patch)
tree01551d7fde98839794c304ad107cc60f3a813d31 /nuttx/include/nuttx/usb/usbhost.h
parent40b7091f0f82c08d8da62c5ea913dbca122ca1f1 (diff)
downloadnuttx-61c04ffffaf6cf9024d740c04443e66c6fff500e.tar.gz
nuttx-61c04ffffaf6cf9024d740c04443e66c6fff500e.tar.bz2
nuttx-61c04ffffaf6cf9024d740c04443e66c6fff500e.zip
Back out most of the changes of 3b04d08043742b9e65cf38d45988b35bff91daed
Diffstat (limited to 'nuttx/include/nuttx/usb/usbhost.h')
-rw-r--r--nuttx/include/nuttx/usb/usbhost.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h
index 80b6f9cf6..d357e0b9b 100644
--- a/nuttx/include/nuttx/usb/usbhost.h
+++ b/nuttx/include/nuttx/usb/usbhost.h
@@ -481,7 +481,6 @@
* Input Parameters:
* drvr - The USB host driver instance obtained as a parameter from the call to
* the class create() method.
- * funcaddr - Address of the function to be disconnected.
*
* Returned Values:
* None
@@ -491,7 +490,7 @@
*
************************************************************************************/
-#define DRVR_DISCONNECT(drvr,funcaddr) ((drvr)->disconnect(drvr,funcaddr))
+#define DRVR_DISCONNECT(drvr) ((drvr)->disconnect(drvr))
/************************************************************************************
* Public Types
@@ -685,7 +684,7 @@ struct usbhost_driver_s
* (until a new instance is received from the create() method).
*/
- void (*disconnect)(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr);
+ void (*disconnect)(FAR struct usbhost_driver_s *drvr);
};
/************************************************************************************