]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/ata/sata_svw.c
Merge branch 'master' into upstream
[linux-beck.git] / drivers / ata / sata_svw.c
index 2a7e3495cf160b506dd2b9a7ee10b4e8a949c75d..d6d6658d8328b0a7c4796bba71b121c93ada8356 100644 (file)
@@ -268,7 +268,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) {
-               u32 *reg = (u32 *)get_property(np, "reg", NULL);
+               const u32 *reg = get_property(np, "reg", NULL);
                if (!reg)
                        continue;
                if (index == *reg)