diff options
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ehci.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 559b19da0c7..d9ae89e3cf2 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -1185,7 +1185,7 @@ poll_int_queue(struct usb_device *dev, struct int_queue *queue) debug("Exit poll_int_queue with completed intr transfer. " "token is %x at %p (first at %p)\n", cur->qh_overlay.qt_token, &cur->qh_overlay.qt_token, queue->first); - return *(void **)cur->fill; + return (void *)cur->fill[0]; } /* Do not free buffers associated with QHs, they're owned by someone else */ diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 0b7bbbf2c8a..3ac27e0f268 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -208,7 +208,7 @@ struct QH { * Add dummy fill value to make the size of this struct * aligned to 32 bytes */ - uint8_t fill[16]; + uint32_t fill[4]; }; /* Low level init functions */ |