aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_svw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_svw.c')
-rw-r--r--drivers/ata/sata_svw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c
index 3e5621102d5f..b121195cc598 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 = of_get_property(np, "reg", NULL); 300 const u32 *reg = get_property(np, "reg", NULL);
301 if (!reg) 301 if (!reg)
302 continue; 302 continue;
303 if (index == *reg) 303 if (index == *reg)