Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26e6385f authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Use alloc_pci_dev() in PCI bus probes.



Otherwise MSI explodes because pci_msi_init_pci_dev() does not
get invoked.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9245df0c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -377,7 +377,7 @@ struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm,
	const char *type;
	u32 class;

	dev = kzalloc(sizeof(struct pci_dev), GFP_KERNEL);
	dev = alloc_pci_dev();
	if (!dev)
		return NULL;