diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-30 23:54:02 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-02 06:04:32 -0400 |
commit | 40cd3a4564ed6b7bc0279430120ca0e9b83cf486 (patch) | |
tree | 1b7b7705613d915f4f2ca2f79bec4d246171086a /drivers/net/sungem_phy.c | |
parent | 9f9a3b8a06b7965335bfe5162c1a50e4d9c3859b (diff) |
[POWERPC] Rename get_property to of_get_property: drivers
These are all the remaining instances of get_property. Simple rename of
get_property to of_get_property.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/net/sungem_phy.c')
-rw-r--r-- | drivers/net/sungem_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem_phy.c b/drivers/net/sungem_phy.c index 56a110ca5e6f..61843fd57525 100644 --- a/drivers/net/sungem_phy.c +++ b/drivers/net/sungem_phy.c | |||
@@ -451,7 +451,7 @@ static int bcm5421_init(struct mii_phy* phy) | |||
451 | if (phy->platform_data) { | 451 | if (phy->platform_data) { |
452 | struct device_node *np = of_get_parent(phy->platform_data); | 452 | struct device_node *np = of_get_parent(phy->platform_data); |
453 | int can_low_power = 1; | 453 | int can_low_power = 1; |
454 | if (np == NULL || get_property(np, "no-autolowpower", NULL)) | 454 | if (np == NULL || of_get_property(np, "no-autolowpower", NULL)) |
455 | can_low_power = 0; | 455 | can_low_power = 0; |
456 | if (can_low_power) { | 456 | if (can_low_power) { |
457 | /* Enable automatic low-power */ | 457 | /* Enable automatic low-power */ |