Move source tree closer to the 2.6.32.17 mainline
/drivers/usb/host/ohci-hub.c
blob:32bbce9718f0626b98cc37e09b14faa51a5cc16f -> blob:65cac8cc8921254718d835860a9ad2871d13b823
--- drivers/usb/host/ohci-hub.c
+++ drivers/usb/host/ohci-hub.c
@@ -697,7 +697,7 @@ static int ohci_hub_control (
u16 wLength
) {
struct ohci_hcd *ohci = hcd_to_ohci (hcd);
- int ports = hcd_to_bus (hcd)->root_hub->maxchild;
+ int ports = ohci->num_ports;
u32 temp;
int retval = 0;