commit | 88e7b167a079f090405ab4390b629b5effdab41a | [log] [tgz] |
---|---|---|
author | Brian King <brking@linux.vnet.ibm.com> | Mon Apr 08 03:05:07 2013 +0000 |
committer | Michael Ellerman <michael@ellerman.id.au> | Thu Apr 18 15:59:57 2013 +1000 |
tree | 1d77e15a878d12838a97d021720cc6bfb923914a | |
parent | 37f02195bee9c25ce44e25204f40b7961a6d7c9d [diff] |
pci: Set dev->dev.type in alloc_pci_dev Set dev->dev.type in alloc_pci_dev so that archs that have their own versions of pci_setup_device get this set properly in order to ensure things like the boot_vga sysfs parameter get created as expected. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>