]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge tag 'pci-v3.10-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 May 2013 17:21:44 +0000 (10:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 May 2013 17:21:44 +0000 (10:21 -0700)
Pull PCI updates from Bjorn Helgaas:
 "MSI:
      PCI: Set ->mask_pos correctly
  Hotplug:
      PCI: Delay final fixups until resources are assigned
  Moorestown:
      x86/pci/mrst: Use configuration mechanism 1 for 00:00.0, 00:02.0, 00:03.0"

* tag 'pci-v3.10-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
  PCI: Delay final fixups until resources are assigned
  x86/pci/mrst: Use configuration mechanism 1 for 00:00.0, 00:02.0, 00:03.0
  PCI: Set ->mask_pos correctly

1  2 
drivers/pci/probe.c

diff --combined drivers/pci/probe.c
index 631aeb7d2d2dd548d7db2ccfeae6b7518f0fc483,67cd04575e2ea14c909ca8abf78bee8ce5de962a..70f10fa3c1b216ab88e04471c171d8404f107770
@@@ -990,6 -990,7 +990,6 @@@ int pci_setup_device(struct pci_dev *de
        dev->sysdata = dev->bus->sysdata;
        dev->dev.parent = dev->bus->bridge;
        dev->dev.bus = &pci_bus_type;
 -      dev->dev.type = &pci_dev_type;
        dev->hdr_type = hdr_type & 0x7f;
        dev->multifunction = !!(hdr_type & 0x80);
        dev->error_state = pci_channel_io_normal;
@@@ -1209,7 -1210,6 +1209,7 @@@ struct pci_dev *alloc_pci_dev(void
                return NULL;
  
        INIT_LIST_HEAD(&dev->bus_list);
 +      dev->dev.type = &pci_dev_type;
  
        return dev;
  }
@@@ -1341,7 -1341,6 +1341,6 @@@ void pci_device_add(struct pci_dev *dev
        list_add_tail(&dev->bus_list, &bus->devices);
        up_write(&pci_bus_sem);
  
-       pci_fixup_device(pci_fixup_final, dev);
        ret = pcibios_add_device(dev);
        WARN_ON(ret < 0);