diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 08:26:41 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:19 -0400 |
commit | e2eb63927bfcb54232163bfec32440246fd44457 (patch) | |
tree | 596656edeb2332b5134d8236fa50b87f2c0ece29 /arch/powerpc/platforms/pasemi | |
parent | ceef87782a9452eeeca774e65d7f4e06455780a3 (diff) |
[POWERPC] Rename get_property to of_get_property: arch/powerpc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pasemi')
-rw-r--r-- | arch/powerpc/platforms/pasemi/iommu.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/pasemi/setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pasemi/iommu.c b/arch/powerpc/platforms/pasemi/iommu.c index 07819cd3ac44..95fa6a7d15ee 100644 --- a/arch/powerpc/platforms/pasemi/iommu.c +++ b/arch/powerpc/platforms/pasemi/iommu.c | |||
@@ -249,7 +249,7 @@ void iommu_init_early_pasemi(void) | |||
249 | iommu_off = 1; | 249 | iommu_off = 1; |
250 | #else | 250 | #else |
251 | iommu_off = of_chosen && | 251 | iommu_off = of_chosen && |
252 | get_property(of_chosen, "linux,iommu-off", NULL); | 252 | of_get_property(of_chosen, "linux,iommu-off", NULL); |
253 | #endif | 253 | #endif |
254 | if (iommu_off) { | 254 | if (iommu_off) { |
255 | /* Direct I/O, IOMMU off */ | 255 | /* Direct I/O, IOMMU off */ |
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index d4fd61328c8b..32a614cacf24 100644 --- a/arch/powerpc/platforms/pasemi/setup.c +++ b/arch/powerpc/platforms/pasemi/setup.c | |||
@@ -137,7 +137,7 @@ static __init void pas_init_IRQ(void) | |||
137 | /* Find address list in /platform-open-pic */ | 137 | /* Find address list in /platform-open-pic */ |
138 | root = of_find_node_by_path("/"); | 138 | root = of_find_node_by_path("/"); |
139 | naddr = of_n_addr_cells(root); | 139 | naddr = of_n_addr_cells(root); |
140 | opprop = get_property(root, "platform-open-pic", &opplen); | 140 | opprop = of_get_property(root, "platform-open-pic", &opplen); |
141 | if (!opprop) { | 141 | if (!opprop) { |
142 | printk(KERN_ERR "No platform-open-pic property.\n"); | 142 | printk(KERN_ERR "No platform-open-pic property.\n"); |
143 | of_node_put(root); | 143 | of_node_put(root); |