diff options
Diffstat (limited to 'drivers/usb/host/ohci-hub.c')
| -rw-r--r-- | drivers/usb/host/ohci-hub.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c index 32bbce9718f..65cac8cc892 100644 --- a/drivers/usb/host/ohci-hub.c +++ b/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;  |