diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 17:07:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 17:07:22 -0400 |
commit | f14121ab35912e3d2e57ac9a4ce1f9d4b7baeffb (patch) | |
tree | 7d5b4799998760e0a88166185abff1147d4ee04d /arch/microblaze/pci | |
parent | 914311c9fb9bc01a215de9d848b72b5449c0e342 (diff) | |
parent | e95d8aafa5d911bf523bc47fe89f3336eb8a1b51 (diff) |
Merge tag 'dt-for-3.6' of git://sources.calxeda.com/kernel/linux
Pull devicetree updates from Rob Herring:
"A small set of changes for devicetree:
- Couple of Documentation fixes
- Addition of new helper function of_node_full_name
- Improve of_parse_phandle_with_args return values
- Some NULL related sparse fixes"
Grant's busy packing.
* tag 'dt-for-3.6' of git://sources.calxeda.com/kernel/linux:
of: mtd: nuke useless const qualifier
devicetree: add helper inline for retrieving a node's full name
of: return -ENOENT when no property
usage-model.txt: fix typo machine_init->init_machine
of: Fix null pointer related warnings in base.c file
LED: Fix missing semicolon in OF documentation
of: fix a few typos in the binding documentation
Diffstat (limited to 'arch/microblaze/pci')
-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 ed22bfc5db14..ca8f6e769960 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -249,8 +249,7 @@ int pci_read_irq_line(struct pci_dev *pci_dev) | |||
249 | } else { | 249 | } else { |
250 | pr_debug(" Got one, spec %d cells (0x%08x 0x%08x...) on %s\n", | 250 | pr_debug(" Got one, spec %d cells (0x%08x 0x%08x...) on %s\n", |
251 | oirq.size, oirq.specifier[0], oirq.specifier[1], | 251 | oirq.size, oirq.specifier[0], oirq.specifier[1], |
252 | oirq.controller ? oirq.controller->full_name : | 252 | of_node_full_name(oirq.controller)); |
253 | "<default>"); | ||
254 | 253 | ||
255 | virq = irq_create_of_mapping(oirq.controller, oirq.specifier, | 254 | virq = irq_create_of_mapping(oirq.controller, oirq.specifier, |
256 | oirq.size); | 255 | oirq.size); |
@@ -1493,8 +1492,7 @@ static void __devinit pcibios_scan_phb(struct pci_controller *hose) | |||
1493 | struct pci_bus *bus; | 1492 | struct pci_bus *bus; |
1494 | struct device_node *node = hose->dn; | 1493 | struct device_node *node = hose->dn; |
1495 | 1494 | ||
1496 | pr_debug("PCI: Scanning PHB %s\n", | 1495 | pr_debug("PCI: Scanning PHB %s\n", of_node_full_name(node)); |
1497 | node ? node->full_name : "<NO NAME>"); | ||
1498 | 1496 | ||
1499 | pcibios_setup_phb_resources(hose, &resources); | 1497 | pcibios_setup_phb_resources(hose, &resources); |
1500 | 1498 | ||