From: Michael Ellerman Date: Thu, 5 Apr 2007 07:19:08 +0000 (+1000) Subject: PCI: Create alloc_pci_dev(), the one true way to create a struct pci_dev X-Git-Tag: v2.6.22-rc1~1039^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65891215e6b822c368fb3f36abf129ed48af8be0;p=pandora-kernel.git PCI: Create alloc_pci_dev(), the one true way to create a struct pci_dev There are currently several places in the kernel where we kmalloc() a struct pci_dev and start initialising it. It'd be preferable to have an allocator so we can ensure the pci_dev is correctly initialised in one place. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed