diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2013-04-08 03:05:07 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-13 10:49:41 -0700 |
commit | 4d0a4d4a9a3d6fc4d998c459d24202e657d0406f (patch) | |
tree | dd89e92fb4a8e57a0bcd12c469e31c349ac8369d /arch | |
parent | 213546495109a31ff87386628325a1ff254c656e (diff) |
pci: Set dev->dev.type in alloc_pci_dev
commit 88e7b167a079f090405ab4390b629b5effdab41a upstream.
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>
Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions