diff options
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index bd61512a1be4..4dbb5055d04b 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -244,8 +244,7 @@ int pci_read_irq_line(struct pci_dev *pci_dev) | |||
244 | } else { | 244 | } else { |
245 | pr_debug(" Got one, spec %d cells (0x%08x 0x%08x...) on %s\n", | 245 | pr_debug(" Got one, spec %d cells (0x%08x 0x%08x...) on %s\n", |
246 | oirq.size, oirq.specifier[0], oirq.specifier[1], | 246 | oirq.size, oirq.specifier[0], oirq.specifier[1], |
247 | oirq.controller ? oirq.controller->full_name : | 247 | of_node_full_name(oirq.controller)); |
248 | "<default>"); | ||
249 | 248 | ||
250 | virq = irq_create_of_mapping(oirq.controller, oirq.specifier, | 249 | virq = irq_create_of_mapping(oirq.controller, oirq.specifier, |
251 | oirq.size); | 250 | oirq.size); |
@@ -1488,8 +1487,7 @@ static void __devinit pcibios_scan_phb(struct pci_controller *hose) | |||
1488 | struct pci_bus *bus; | 1487 | struct pci_bus *bus; |
1489 | struct device_node *node = hose->dn; | 1488 | struct device_node *node = hose->dn; |
1490 | 1489 | ||
1491 | pr_debug("PCI: Scanning PHB %s\n", | 1490 | pr_debug("PCI: Scanning PHB %s\n", of_node_full_name(node)); |
1492 | node ? node->full_name : "<NO NAME>"); | ||
1493 | 1491 | ||
1494 | pcibios_setup_phb_resources(hose, &resources); | 1492 | pcibios_setup_phb_resources(hose, &resources); |
1495 | 1493 | ||