diff options
Diffstat (limited to 'include/linux/usb.h')
| -rw-r--r-- | include/linux/usb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index f104efa04d79..4709033f8fa7 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
| @@ -257,8 +257,6 @@ int __usb_get_extra_descriptor(char *buffer, unsigned size, | |||
| 257 | 257 | ||
| 258 | /* ----------------------------------------------------------------------- */ | 258 | /* ----------------------------------------------------------------------- */ |
| 259 | 259 | ||
| 260 | struct usb_operations; | ||
| 261 | |||
| 262 | /* USB device number allocation bitmap */ | 260 | /* USB device number allocation bitmap */ |
| 263 | struct usb_devmap { | 261 | struct usb_devmap { |
| 264 | unsigned long devicemap[128 / (8*sizeof(unsigned long))]; | 262 | unsigned long devicemap[128 / (8*sizeof(unsigned long))]; |
| @@ -279,7 +277,6 @@ struct usb_bus { | |||
| 279 | * round-robin allocation */ | 277 | * round-robin allocation */ |
| 280 | 278 | ||
| 281 | struct usb_devmap devmap; /* device address allocation map */ | 279 | struct usb_devmap devmap; /* device address allocation map */ |
| 282 | struct usb_operations *op; /* Operations (specific to the HC) */ | ||
| 283 | struct usb_device *root_hub; /* Root hub */ | 280 | struct usb_device *root_hub; /* Root hub */ |
| 284 | struct list_head bus_list; /* list of busses */ | 281 | struct list_head bus_list; /* list of busses */ |
| 285 | void *hcpriv; /* Host Controller private data */ | 282 | void *hcpriv; /* Host Controller private data */ |
| @@ -1051,7 +1048,6 @@ extern int usb_submit_urb(struct urb *urb, gfp_t mem_flags); | |||
| 1051 | extern int usb_unlink_urb(struct urb *urb); | 1048 | extern int usb_unlink_urb(struct urb *urb); |
| 1052 | extern void usb_kill_urb(struct urb *urb); | 1049 | extern void usb_kill_urb(struct urb *urb); |
| 1053 | 1050 | ||
| 1054 | #define HAVE_USB_BUFFERS | ||
| 1055 | void *usb_buffer_alloc (struct usb_device *dev, size_t size, | 1051 | void *usb_buffer_alloc (struct usb_device *dev, size_t size, |
| 1056 | gfp_t mem_flags, dma_addr_t *dma); | 1052 | gfp_t mem_flags, dma_addr_t *dma); |
| 1057 | void usb_buffer_free (struct usb_device *dev, size_t size, | 1053 | void usb_buffer_free (struct usb_device *dev, size_t size, |
