summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-10-18 11:13:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-19 14:06:00 -0700
commit5d8f681f3d14880d5b509eb32a910ba90ef28c36 (patch)
tree8ff817d4b3ad37816e56ac2aee7e99d719b51036 /drivers/usb/host
parent9afcdb10ade4c3f5bedb1c7de9dd37f7061819eb (diff)
USB: EHCI: fix type mismatch in check_intr_schedule
This patch fixes a type mismatch in ehci-hcd caused by commit b35c5009bbf6 (USB: EHCI: create per-TT bandwidth tables). The c_maskp parameter in check_intr_schedule() was changed to point to unsigned int rather than __hc32, but the prototype declaration wasn't adjusted accordingly. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
index 7ce5c2a2fe31..fbeb82e552b8 100644
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -794,7 +794,7 @@ static int check_intr_schedule (
unsigned frame,
unsigned uframe,
struct ehci_qh *qh,
- __hc32 *c_maskp,
+ unsigned *c_maskp,
struct ehci_tt *tt
)
{