diff options
Diffstat (limited to 'drivers/hid/usbhid/usbhid.h')
| -rw-r--r-- | drivers/hid/usbhid/usbhid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/usbhid.h b/drivers/hid/usbhid/usbhid.h index 62d2d7c925bd..abedb13c623e 100644 --- a/drivers/hid/usbhid/usbhid.h +++ b/drivers/hid/usbhid/usbhid.h | |||
| @@ -67,7 +67,7 @@ struct usbhid_device { | |||
| 67 | spinlock_t ctrllock; /* Control fifo spinlock */ | 67 | spinlock_t ctrllock; /* Control fifo spinlock */ |
| 68 | 68 | ||
| 69 | struct urb *urbout; /* Output URB */ | 69 | struct urb *urbout; /* Output URB */ |
| 70 | struct hid_report *out[HID_CONTROL_FIFO_SIZE]; /* Output pipe fifo */ | 70 | struct hid_output_fifo out[HID_CONTROL_FIFO_SIZE]; /* Output pipe fifo */ |
| 71 | unsigned char outhead, outtail; /* Output pipe fifo head & tail */ | 71 | unsigned char outhead, outtail; /* Output pipe fifo head & tail */ |
| 72 | char *outbuf; /* Output buffer */ | 72 | char *outbuf; /* Output buffer */ |
| 73 | dma_addr_t outbuf_dma; /* Output buffer dma */ | 73 | dma_addr_t outbuf_dma; /* Output buffer dma */ |
| @@ -82,7 +82,7 @@ struct usbhid_device { | |||
| 82 | }; | 82 | }; |
| 83 | 83 | ||
| 84 | #define hid_to_usb_dev(hid_dev) \ | 84 | #define hid_to_usb_dev(hid_dev) \ |
| 85 | container_of(hid_dev->dev->parent, struct usb_device, dev) | 85 | container_of(hid_dev->dev.parent->parent, struct usb_device, dev) |
| 86 | 86 | ||
| 87 | #endif | 87 | #endif |
| 88 | 88 | ||
