projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: Convert to alloc_pci_dev()
[powerpc.git]
/
drivers
/
pci
/
hotplug
/
fakephp.c
diff --git
a/drivers/pci/hotplug/fakephp.c
b/drivers/pci/hotplug/fakephp.c
index
e27907c
..
027f686
100644
(file)
--- a/
drivers/pci/hotplug/fakephp.c
+++ b/
drivers/pci/hotplug/fakephp.c
@@
-238,7
+238,7
@@
static void pci_rescan_bus(const struct pci_bus *bus)
{
unsigned int devfn;
struct pci_dev *dev;
- dev =
kzalloc(sizeof(struct pci_dev), GFP_KERNEL
);
+ dev =
alloc_pci_dev(
);
if (!dev)
return;