hi, On Wed, Jul 27, 2011 at 02:53:37PM +0200, Sebastian Andrzej Siewior wrote: > * Felipe Balbi | 2011-07-27 01:23:07 [+0300]: > > >diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c > >index da7bde8..7128306 100644 > >--- a/drivers/usb/host/xhci-pci.c > >+++ b/drivers/usb/host/xhci-pci.c > >@@ -149,80 +153,104 @@ error: > > ... > > > > > static int xhci_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) > > { > > > >- xhci->shared_hcd = usb_create_shared_hcd(driver, &dev->dev, > >- pci_name(dev), hcd); > >- if (!xhci->shared_hcd) { > >- retval = -ENOMEM; > >- goto dealloc_usb2_hcd; > >+ xhci = platform_device_alloc("xhci-pci", -1); > > you need some kind of IDR or something since the rich people might have > two of this things in one system. that's true, I'll fix this on a later revision ;-) -- balbi
Attachment:
signature.asc
Description: Digital signature