projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9245df0
)
[SPARC64]: Use alloc_pci_dev() in PCI bus probes.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 10 May 2007 09:16:27 +0000
(
02:16
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 10 May 2007 09:16:27 +0000
(
02:16
-0700)
Otherwise MSI explodes because pci_msi_init_pci_dev() does not
get invoked.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/pci.c
b/arch/sparc64/kernel/pci.c
index d85e1ed7c3e438d3425ab96d103c3f427ca4a38a..cf9a75112d0fa9bdb9e00d09fa9c454ee7e8e17b 100644
(file)
--- a/
arch/sparc64/kernel/pci.c
+++ b/
arch/sparc64/kernel/pci.c
@@
-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;