diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-10-21 20:14:54 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-03-14 02:07:14 +0100 |
commit | 23e0d1066f429ab44305e96fbff13f1793886277 (patch) | |
tree | 39421fefa903781b6f219b041bfbaec783027ddd /drivers/usb/storage/scsiglue.h | |
parent | usb: Make usb_hcd_pci_probe labels more descriptive. (diff) | |
download | linux-23e0d1066f429ab44305e96fbff13f1793886277.tar.xz linux-23e0d1066f429ab44305e96fbff13f1793886277.zip |
usb: Refactor irq enabling out of usb_add_hcd()
Refactor out the code in usb_add_hcd() to request the IRQ line for the
HCD. This will only need to be called once for the two xHCI roothubs, so
it's easier to refactor it into a function, rather than wrapping the long
if-else block into another if statement.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/storage/scsiglue.h')
0 files changed, 0 insertions, 0 deletions