Skip to content
Commit 88e7b167 authored by Brian King's avatar Brian King Committed by Michael Ellerman
Browse files

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: default avatarBrian King <brking@linux.vnet.ibm.com>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
parent 37f02195
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment