diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:40:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:40:58 -0500 |
commit | 9afa3195b96da7d2320ec44d19fbfbded7a15571 (patch) | |
tree | 15c4222de2a2b2814c9430dcb4e997b18597881c /drivers/of | |
parent | 7c2db36e730ee4facd341679ecb21ee73ba92831 (diff) | |
parent | df63447f1a4402d7d9c6a9cd1c39a6d6766452d1 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina:
"Assorted tiny fixes queued in trivial tree"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (22 commits)
DocBook: update EXPORT_SYMBOL entry to point at export.h
Documentation: update top level 00-INDEX file with new additions
ARM: at91/ide: remove unsused at91-ide Kconfig entry
percpu_counter.h: comment code for better readability
x86, efi: fix comment typo in head_32.S
IB: cxgb3: delay freeing mem untill entirely done with it
net: mvneta: remove unneeded version.h include
time: x86: report_lost_ticks doesn't exist any more
pcmcia: avoid static analysis complaint about use-after-free
fs/jfs: Fix typo in comment : 'how may' -> 'how many'
of: add missing documentation for of_platform_populate()
btrfs: remove unnecessary cur_trans set before goto loop in join_transaction
sound: soc: Fix typo in sound/codecs
treewide: Fix typo in various drivers
btrfs: fix comment typos
Update ibmvscsi module name in Kconfig.
powerpc: fix typo (utilties -> utilities)
of: fix spelling mistake in comment
h8300: Fix home page URL in h8300/README
xtensa: Fix home page URL in Kconfig
...
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/address.c | 2 | ||||
-rw-r--r-- | drivers/of/platform.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c index 0125524c08c4..04da786c84d2 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c | |||
@@ -429,7 +429,7 @@ static u64 __of_translate_address(struct device_node *dev, | |||
429 | goto bail; | 429 | goto bail; |
430 | bus = of_match_bus(parent); | 430 | bus = of_match_bus(parent); |
431 | 431 | ||
432 | /* Cound address cells & copy address locally */ | 432 | /* Count address cells & copy address locally */ |
433 | bus->count_cells(dev, &na, &ns); | 433 | bus->count_cells(dev, &na, &ns); |
434 | if (!OF_CHECK_COUNTS(na, ns)) { | 434 | if (!OF_CHECK_COUNTS(na, ns)) { |
435 | printk(KERN_ERR "prom_parse: Bad cell count for %s\n", | 435 | printk(KERN_ERR "prom_parse: Bad cell count for %s\n", |
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index b80891b43816..e0a6514ab46c 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -436,6 +436,7 @@ EXPORT_SYMBOL(of_platform_bus_probe); | |||
436 | * of_platform_populate() - Populate platform_devices from device tree data | 436 | * of_platform_populate() - Populate platform_devices from device tree data |
437 | * @root: parent of the first level to probe or NULL for the root of the tree | 437 | * @root: parent of the first level to probe or NULL for the root of the tree |
438 | * @matches: match table, NULL to use the default | 438 | * @matches: match table, NULL to use the default |
439 | * @lookup: auxdata table for matching id and platform_data with device nodes | ||
439 | * @parent: parent to hook devices from, NULL for toplevel | 440 | * @parent: parent to hook devices from, NULL for toplevel |
440 | * | 441 | * |
441 | * Similar to of_platform_bus_probe(), this function walks the device tree | 442 | * Similar to of_platform_bus_probe(), this function walks the device tree |