]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/macintosh/smu.c
[POWERPC] Make struct property's value a void *
[linux-2.6-omap-h63xx.git] / drivers / macintosh / smu.c
index 3096836d8bd3309e35b459d2684b6688838ff58e..45bb3c1dfeb12fd9b58a337fff8bbcef22c9b4aa 100644 (file)
@@ -952,7 +952,7 @@ static struct smu_sdbp_header *smu_create_sdb_partition(int id)
        prop->name = ((char *)prop) + tlen - 18;
        sprintf(prop->name, "sdb-partition-%02x", id);
        prop->length = len;
-       prop->value = (unsigned char *)hdr;
+       prop->value = hdr;
        prop->next = NULL;
 
        /* Read the datablock */