diff options
Diffstat (limited to 'drivers/usb/core/hcd.h')
-rw-r--r-- | drivers/usb/core/hcd.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/usb/core/hcd.h b/drivers/usb/core/hcd.h index 676877c15f81..8f8df0d4382e 100644 --- a/drivers/usb/core/hcd.h +++ b/drivers/usb/core/hcd.h | |||
@@ -143,15 +143,13 @@ struct hcd_timeout { /* timeouts we allocate */ | |||
143 | /*-------------------------------------------------------------------------*/ | 143 | /*-------------------------------------------------------------------------*/ |
144 | 144 | ||
145 | 145 | ||
146 | struct pt_regs; | ||
147 | |||
148 | struct hc_driver { | 146 | struct hc_driver { |
149 | const char *description; /* "ehci-hcd" etc */ | 147 | const char *description; /* "ehci-hcd" etc */ |
150 | const char *product_desc; /* product/vendor string */ | 148 | const char *product_desc; /* product/vendor string */ |
151 | size_t hcd_priv_size; /* size of private data */ | 149 | size_t hcd_priv_size; /* size of private data */ |
152 | 150 | ||
153 | /* irq handler */ | 151 | /* irq handler */ |
154 | irqreturn_t (*irq) (struct usb_hcd *hcd, struct pt_regs *regs); | 152 | irqreturn_t (*irq) (struct usb_hcd *hcd); |
155 | 153 | ||
156 | int flags; | 154 | int flags; |
157 | #define HCD_MEMORY 0x0001 /* HC regs use memory (else I/O) */ | 155 | #define HCD_MEMORY 0x0001 /* HC regs use memory (else I/O) */ |
@@ -205,8 +203,7 @@ struct hc_driver { | |||
205 | 203 | ||
206 | extern int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags); | 204 | extern int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags); |
207 | extern int usb_hcd_unlink_urb (struct urb *urb, int status); | 205 | extern int usb_hcd_unlink_urb (struct urb *urb, int status); |
208 | extern void usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb, | 206 | extern void usb_hcd_giveback_urb (struct usb_hcd *hcd, struct urb *urb); |
209 | struct pt_regs *regs); | ||
210 | extern void usb_hcd_endpoint_disable (struct usb_device *udev, | 207 | extern void usb_hcd_endpoint_disable (struct usb_device *udev, |
211 | struct usb_host_endpoint *ep); | 208 | struct usb_host_endpoint *ep); |
212 | extern int usb_hcd_get_frame_number (struct usb_device *udev); | 209 | extern int usb_hcd_get_frame_number (struct usb_device *udev); |
@@ -248,7 +245,7 @@ void hcd_buffer_free (struct usb_bus *bus, size_t size, | |||
248 | void *addr, dma_addr_t dma); | 245 | void *addr, dma_addr_t dma); |
249 | 246 | ||
250 | /* generic bus glue, needed for host controllers that don't use PCI */ | 247 | /* generic bus glue, needed for host controllers that don't use PCI */ |
251 | extern irqreturn_t usb_hcd_irq (int irq, void *__hcd, struct pt_regs *r); | 248 | extern irqreturn_t usb_hcd_irq (int irq, void *__hcd); |
252 | 249 | ||
253 | extern void usb_hc_died (struct usb_hcd *hcd); | 250 | extern void usb_hc_died (struct usb_hcd *hcd); |
254 | extern void usb_hcd_poll_rh_status(struct usb_hcd *hcd); | 251 | extern void usb_hcd_poll_rh_status(struct usb_hcd *hcd); |