diff options
author | Moiz Sonasath <[email protected]> | 2012-09-05 08:34:26 +0300 |
---|---|---|
committer | Sarah Sharp <[email protected]> | 2012-09-05 12:26:11 -0700 |
commit | 296365781903226a3fb8758901eaeec09d2798e4 (patch) | |
tree | dbe534ec50153d563220dc692df6f40ed1d8bad0 /lib/mpi/mpi-internal.h | |
parent | 319acdfc064169023cd9ada5085b434fbcdacec2 (diff) |
usb: host: xhci: fix compilation error for non-PCI based stacks
For non PCI-based stacks, this function call
usb_disable_xhci_ports(to_pci_dev(hcd->self.controller));
made from xhci_shutdown is not applicable.
Ideally, we wouldn't have any PCI-specific code on
a generic driver such as the xHCI stack, but it looks
like we should just stub usb_disable_xhci_ports() out
for non-PCI devices.
[ [email protected]: slight improvement to commit log ]
This patch should be backported to kernels as old as 3.0, since the
commit it fixes (e95829f474f0db3a4d940cae1423783edd966027 "xhci: Switch
PPT ports to EHCI on shutdown.") was marked for stable.
Signed-off-by: Moiz Sonasath<[email protected]>
Signed-off-by: Ruchika Kharwar <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions