diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-02 20:58:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:18 -0400 |
commit | 1a38147ed0737a9c01dbf5f2ca47fd2a0aa5cb55 (patch) | |
tree | cd8ace4daea50a2a8c4bc19db156163e9f7aefb3 /drivers | |
parent | 9213feea6e197f8507ec855337798cc3388f5570 (diff) |
[POWERPC] Make struct property's value a void *
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/macintosh/smu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 3096836d8bd3..45bb3c1dfeb1 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -952,7 +952,7 @@ static struct smu_sdbp_header *smu_create_sdb_partition(int id) | |||
952 | prop->name = ((char *)prop) + tlen - 18; | 952 | prop->name = ((char *)prop) + tlen - 18; |
953 | sprintf(prop->name, "sdb-partition-%02x", id); | 953 | sprintf(prop->name, "sdb-partition-%02x", id); |
954 | prop->length = len; | 954 | prop->length = len; |
955 | prop->value = (unsigned char *)hdr; | 955 | prop->value = hdr; |
956 | prop->next = NULL; | 956 | prop->next = NULL; |
957 | 957 | ||
958 | /* Read the datablock */ | 958 | /* Read the datablock */ |