diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 08:40:39 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:19 -0400 |
commit | d05c7a80cf39ae7d0f8d0c3e47c93d51fcd393d3 (patch) | |
tree | 6b51334a2427c0392c391d0e0bfab0ab9aae690e /drivers/ata/sata_svw.c | |
parent | c4f55b394505fff6ad831d17e36e02dde1c3a8d7 (diff) |
[POWERPC] Rename get_property to of_get_property: drivers
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 'drivers/ata/sata_svw.c')
-rw-r--r-- | drivers/ata/sata_svw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c index b121195cc598..3e5621102d5f 100644 --- a/drivers/ata/sata_svw.c +++ b/drivers/ata/sata_svw.c | |||
@@ -297,7 +297,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, | |||
297 | /* Match it to a port node */ | 297 | /* Match it to a port node */ |
298 | index = (ap == ap->host->ports[0]) ? 0 : 1; | 298 | index = (ap == ap->host->ports[0]) ? 0 : 1; |
299 | for (np = np->child; np != NULL; np = np->sibling) { | 299 | for (np = np->child; np != NULL; np = np->sibling) { |
300 | const u32 *reg = get_property(np, "reg", NULL); | 300 | const u32 *reg = of_get_property(np, "reg", NULL); |
301 | if (!reg) | 301 | if (!reg) |
302 | continue; | 302 | continue; |
303 | if (index == *reg) | 303 | if (index == *reg) |