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/kernel/of_platform.c | |
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/kernel/of_platform.c')
-rw-r--r-- | arch/powerpc/kernel/of_platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c index da78e44eefec..d2fd9863318c 100644 --- a/arch/powerpc/kernel/of_platform.c +++ b/arch/powerpc/kernel/of_platform.c | |||
@@ -178,7 +178,7 @@ static void of_platform_make_bus_id(struct of_device *dev) | |||
178 | * and 'D' for MMIO DCRs. | 178 | * and 'D' for MMIO DCRs. |
179 | */ | 179 | */ |
180 | #ifdef CONFIG_PPC_DCR | 180 | #ifdef CONFIG_PPC_DCR |
181 | reg = get_property(node, "dcr-reg", NULL); | 181 | reg = of_get_property(node, "dcr-reg", NULL); |
182 | if (reg) { | 182 | if (reg) { |
183 | #ifdef CONFIG_PPC_DCR_NATIVE | 183 | #ifdef CONFIG_PPC_DCR_NATIVE |
184 | snprintf(name, BUS_ID_SIZE, "d%x.%s", | 184 | snprintf(name, BUS_ID_SIZE, "d%x.%s", |
@@ -198,7 +198,7 @@ static void of_platform_make_bus_id(struct of_device *dev) | |||
198 | /* | 198 | /* |
199 | * For MMIO, get the physical address | 199 | * For MMIO, get the physical address |
200 | */ | 200 | */ |
201 | reg = get_property(node, "reg", NULL); | 201 | reg = of_get_property(node, "reg", NULL); |
202 | if (reg) { | 202 | if (reg) { |
203 | addr = of_translate_address(node, reg); | 203 | addr = of_translate_address(node, reg); |
204 | if (addr != OF_BAD_ADDR) { | 204 | if (addr != OF_BAD_ADDR) { |