X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fata%2Fsata_svw.c;h=17246734fe76951a415279148fd2e88f39627621;hb=f4ebc993759dc25dc3db6b6f1a13a23df8264d4b;hp=cc07aac10e8ce37a0ee818f5ec982b3fc602c509;hpb=98b96173c777c67daaa7d163a35e591e1928a164;p=linux-2.6 diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c index cc07aac10e..17246734fe 100644 --- a/drivers/ata/sata_svw.c +++ b/drivers/ata/sata_svw.c @@ -288,7 +288,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, /* Match it to a port node */ index = (ap == ap->host->ports[0]) ? 0 : 1; for (np = np->child; np != NULL; np = np->sibling) { - const u32 *reg = get_property(np, "reg", NULL); + const u32 *reg = of_get_property(np, "reg", NULL); if (!reg) continue; if (index == *reg)