diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-16 00:33:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-16 00:33:12 +0000 |
commit | 5d449ef3904b7130000b729f6e97f66d8ff99fe0 (patch) | |
tree | 39fe91dedf8107d4bd82b88c3ef4c01dc2146b21 /nuttx/include/nuttx/usb/usbhost.h | |
parent | 97a3795f62ce873d7429701146204e78750268d5 (diff) | |
download | nuttx-5d449ef3904b7130000b729f6e97f66d8ff99fe0.tar.gz nuttx-5d449ef3904b7130000b729f6e97f66d8ff99fe0.tar.bz2 nuttx-5d449ef3904b7130000b729f6e97f66d8ff99fe0.zip |
Changes to get USB host driver compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3184 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/usb/usbhost.h')
-rw-r--r-- | nuttx/include/nuttx/usb/usbhost.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h index a3a356df5..7043c65e7 100644 --- a/nuttx/include/nuttx/usb/usbhost.h +++ b/nuttx/include/nuttx/usb/usbhost.h @@ -105,7 +105,7 @@ * ************************************************************************************/ -#definei CLASS_CONFIGDESC(class, configdesc, desclen) ((class)->configdesc(class, configdesc, desclen)) +#define CLASS_CONFIGDESC(class, configdesc, desclen) ((class)->configdesc(class, configdesc, desclen)) /************************************************************************************ * Name: CLASS_DISCONNECTED @@ -124,7 +124,7 @@ * ************************************************************************************/ -#definei CLASS_DISCONNECTED(class) ((class)->disconnected(class)) +#define CLASS_DISCONNECTED(class) ((class)->disconnected(class)) /************************************************************************************ * Public Types @@ -158,7 +158,7 @@ struct usbhost_registry_s * provide those instances in write-able memory (RAM). */ - struct usbhost_registry_s flink; + struct usbhost_registry_s *flink; /* This is a callback into the class implementation. It is used to (1) create * a new instance of the USB host class state and to (2) bind a USB host driver @@ -168,7 +168,7 @@ struct usbhost_registry_s */ FAR struct usbhost_class_s *(*create)(FAR struct usbhost_driver_s *drvr, - FAR const struct usbhost_id_s *id) + FAR const struct usbhost_id_s *id); /* This information uniquely identifies the USB host class implementation that * goes with a specific USB device. |