summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/prom_parse.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-01-13 15:29:52 +0100
committerMichal Simek <monstr@monstr.eu>2010-01-18 16:36:07 +0100
commit878194c8237e4fc5276685ec59cb3bfb9341988c (patch)
tree6dd51d5000986223d4c1cc46a4b33c65e43c1991 /arch/microblaze/kernel/prom_parse.c
parent296e2603cfdb9e80cb4c7c4535d904524d1eac13 (diff)
downloadblackbird-op-linux-878194c8237e4fc5276685ec59cb3bfb9341988c.tar.gz
blackbird-op-linux-878194c8237e4fc5276685ec59cb3bfb9341988c.zip
microblaze: pci_controller->arch_data really is a struct device_node *
we are follow powerpc change: 44ef339073f67d4abcc62ae52a5fbc069d7a4d29 Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/prom_parse.c')
-rw-r--r--arch/microblaze/kernel/prom_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c
index ae0352ecd5a9..bf7e6c27e318 100644
--- a/arch/microblaze/kernel/prom_parse.c
+++ b/arch/microblaze/kernel/prom_parse.c
@@ -256,7 +256,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
if (ppdev == NULL) {
struct pci_controller *host;
host = pci_bus_to_host(pdev->bus);
- ppnode = host ? host->arch_data : NULL;
+ ppnode = host ? host->dn : NULL;
/* No node for host bridge ? give up */
if (ppnode == NULL)
return -EINVAL;
OpenPOWER on IntegriCloud