[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>
This commit is contained in:
Stephen Rothwell
2007-04-03 10:58:52 +10:00
committed by Paul Mackerras
parent 9213feea6e
commit 1a38147ed0
9 changed files with 15 additions and 15 deletions

View File

@@ -1012,7 +1012,7 @@ pci_create_OF_bus_map(void)
memset(of_prop, -1, sizeof(struct property) + 256);
of_prop->name = "pci-OF-bus-map";
of_prop->length = 256;
of_prop->value = (unsigned char *)&of_prop[1];
of_prop->value = &of_prop[1];
prom_add_property(find_path_device("/"), of_prop);
}
}