diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2012-10-02 12:58:46 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-14 20:56:52 -0500 |
commit | 79d1c712958f94372482ad74578b00f44e744c12 (patch) | |
tree | ed26a9e56c56502c6f30496e7cbc367b54d950e7 /arch/powerpc/kernel/machine_kexec_64.c | |
parent | 1cf3d8b3d24cd383ddfd5442c83ec5c355ffc2f7 (diff) |
powerpc+of: Rename the drivers/of prom_* functions to of_*
Rename the prom_*_property routines of the generic OF code to of_*_property.
This brings them in line with the naming used by the rest of the OF code.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Acked-by: Geoff Levand <geoff@infradead.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec_64.c')
-rw-r--r-- | arch/powerpc/kernel/machine_kexec_64.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c index d7f609086a99..7206701b1ff1 100644 --- a/arch/powerpc/kernel/machine_kexec_64.c +++ b/arch/powerpc/kernel/machine_kexec_64.c | |||
@@ -389,14 +389,14 @@ static int __init export_htab_values(void) | |||
389 | /* remove any stale propertys so ours can be found */ | 389 | /* remove any stale propertys so ours can be found */ |
390 | prop = of_find_property(node, htab_base_prop.name, NULL); | 390 | prop = of_find_property(node, htab_base_prop.name, NULL); |
391 | if (prop) | 391 | if (prop) |
392 | prom_remove_property(node, prop); | 392 | of_remove_property(node, prop); |
393 | prop = of_find_property(node, htab_size_prop.name, NULL); | 393 | prop = of_find_property(node, htab_size_prop.name, NULL); |
394 | if (prop) | 394 | if (prop) |
395 | prom_remove_property(node, prop); | 395 | of_remove_property(node, prop); |
396 | 396 | ||
397 | htab_base = __pa(htab_address); | 397 | htab_base = __pa(htab_address); |
398 | prom_add_property(node, &htab_base_prop); | 398 | of_add_property(node, &htab_base_prop); |
399 | prom_add_property(node, &htab_size_prop); | 399 | of_add_property(node, &htab_size_prop); |
400 | 400 | ||
401 | of_node_put(node); | 401 | of_node_put(node); |
402 | return 0; | 402 | return 0; |