projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8dcb87
)
microblaze: Fix of: eliminate of_device->node and dev_archdata->{of,prom}_node
author
Michal Simek
<monstr@monstr.eu>
Mon, 16 Aug 2010 08:31:54 +0000
(10:31 +0200)
committer
Grant Likely
<grant.likely@secretlab.ca>
Mon, 16 Aug 2010 20:55:48 +0000
(14:55 -0600)
Commit
58f9b0b02414062eaff46716bc04b47d7e79add5
should
contain this fix too.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/microblaze/pci/pci-common.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/pci/pci-common.c
b/arch/microblaze/pci/pci-common.c
index
23be25f
..
6ca8531
100644
(file)
--- a/
arch/microblaze/pci/pci-common.c
+++ b/
arch/microblaze/pci/pci-common.c
@@
-1077,7
+1077,7
@@
void __devinit pcibios_setup_bus_devices(struct pci_bus *bus)
struct dev_archdata *sd = &dev->dev.archdata;
/* Setup OF node pointer in archdata */
-
sd->
of_node = pci_device_to_OF_node(dev);
+
dev->dev.
of_node = pci_device_to_OF_node(dev);
/* Fixup NUMA node as it may not be setup yet by the generic
* code and is needed by the DMA init