diff options
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-dbg.c | 6 | ||||
-rw-r--r-- | drivers/usb/host/ohci-dbg.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c index 65ac9fef3a7c..215ce6d06394 100644 --- a/drivers/usb/host/ehci-dbg.c +++ b/drivers/usb/host/ehci-dbg.c | |||
@@ -451,7 +451,7 @@ show_async (struct class_device *class_dev, char *buf) | |||
451 | *buf = 0; | 451 | *buf = 0; |
452 | 452 | ||
453 | bus = class_get_devdata(class_dev); | 453 | bus = class_get_devdata(class_dev); |
454 | hcd = bus->hcpriv; | 454 | hcd = bus_to_hcd(bus); |
455 | ehci = hcd_to_ehci (hcd); | 455 | ehci = hcd_to_ehci (hcd); |
456 | next = buf; | 456 | next = buf; |
457 | size = PAGE_SIZE; | 457 | size = PAGE_SIZE; |
@@ -497,7 +497,7 @@ show_periodic (struct class_device *class_dev, char *buf) | |||
497 | seen_count = 0; | 497 | seen_count = 0; |
498 | 498 | ||
499 | bus = class_get_devdata(class_dev); | 499 | bus = class_get_devdata(class_dev); |
500 | hcd = bus->hcpriv; | 500 | hcd = bus_to_hcd(bus); |
501 | ehci = hcd_to_ehci (hcd); | 501 | ehci = hcd_to_ehci (hcd); |
502 | next = buf; | 502 | next = buf; |
503 | size = PAGE_SIZE; | 503 | size = PAGE_SIZE; |
@@ -634,7 +634,7 @@ show_registers (struct class_device *class_dev, char *buf) | |||
634 | static char label [] = ""; | 634 | static char label [] = ""; |
635 | 635 | ||
636 | bus = class_get_devdata(class_dev); | 636 | bus = class_get_devdata(class_dev); |
637 | hcd = bus->hcpriv; | 637 | hcd = bus_to_hcd(bus); |
638 | ehci = hcd_to_ehci (hcd); | 638 | ehci = hcd_to_ehci (hcd); |
639 | next = buf; | 639 | next = buf; |
640 | size = PAGE_SIZE; | 640 | size = PAGE_SIZE; |
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c index da52609a9290..534d07dcb824 100644 --- a/drivers/usb/host/ohci-dbg.c +++ b/drivers/usb/host/ohci-dbg.c | |||
@@ -477,7 +477,7 @@ show_async (struct class_device *class_dev, char *buf) | |||
477 | unsigned long flags; | 477 | unsigned long flags; |
478 | 478 | ||
479 | bus = class_get_devdata(class_dev); | 479 | bus = class_get_devdata(class_dev); |
480 | hcd = bus->hcpriv; | 480 | hcd = bus_to_hcd(bus); |
481 | ohci = hcd_to_ohci(hcd); | 481 | ohci = hcd_to_ohci(hcd); |
482 | 482 | ||
483 | /* display control and bulk lists together, for simplicity */ | 483 | /* display control and bulk lists together, for simplicity */ |
@@ -510,7 +510,7 @@ show_periodic (struct class_device *class_dev, char *buf) | |||
510 | seen_count = 0; | 510 | seen_count = 0; |
511 | 511 | ||
512 | bus = class_get_devdata(class_dev); | 512 | bus = class_get_devdata(class_dev); |
513 | hcd = bus->hcpriv; | 513 | hcd = bus_to_hcd(bus); |
514 | ohci = hcd_to_ohci(hcd); | 514 | ohci = hcd_to_ohci(hcd); |
515 | next = buf; | 515 | next = buf; |
516 | size = PAGE_SIZE; | 516 | size = PAGE_SIZE; |
@@ -607,7 +607,7 @@ show_registers (struct class_device *class_dev, char *buf) | |||
607 | u32 rdata; | 607 | u32 rdata; |
608 | 608 | ||
609 | bus = class_get_devdata(class_dev); | 609 | bus = class_get_devdata(class_dev); |
610 | hcd = bus->hcpriv; | 610 | hcd = bus_to_hcd(bus); |
611 | ohci = hcd_to_ohci(hcd); | 611 | ohci = hcd_to_ohci(hcd); |
612 | regs = ohci->regs; | 612 | regs = ohci->regs; |
613 | next = buf; | 613 | next = buf; |