diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-01 05:54:02 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-02 12:04:32 +0200 |
commit | 40cd3a4564ed6b7bc0279430120ca0e9b83cf486 (patch) | |
tree | 1b7b7705613d915f4f2ca2f79bec4d246171086a /drivers/ide/ppc | |
parent | [POWERPC] get_property returns const (diff) | |
download | linux-40cd3a4564ed6b7bc0279430120ca0e9b83cf486.tar.xz linux-40cd3a4564ed6b7bc0279430120ca0e9b83cf486.zip |
[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/ide/ppc')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 071a030ec26e..774bfd39a599 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c @@ -1175,14 +1175,14 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif) pmif->broken_dma = 1; } - bidp = get_property(np, "AAPL,bus-id", NULL); + bidp = of_get_property(np, "AAPL,bus-id", NULL); pmif->aapl_bus_id = bidp ? *bidp : 0; /* Get cable type from device-tree */ if (pmif->kind == controller_kl_ata4 || pmif->kind == controller_un_ata6 || pmif->kind == controller_k2_ata6 || pmif->kind == controller_sh_ata6) { - const char* cable = get_property(np, "cable-type", NULL); + const char* cable = of_get_property(np, "cable-type", NULL); if (cable && !strncmp(cable, "80-", 3)) pmif->cable_80 = 1; } |