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 /arch/powerpc/kernel/pci_32.c | |
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 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index ecc765819305..e99ffe2140bf 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -1012,7 +1012,7 @@ pci_create_OF_bus_map(void) | |||
1012 | memset(of_prop, -1, sizeof(struct property) + 256); | 1012 | memset(of_prop, -1, sizeof(struct property) + 256); |
1013 | of_prop->name = "pci-OF-bus-map"; | 1013 | of_prop->name = "pci-OF-bus-map"; |
1014 | of_prop->length = 256; | 1014 | of_prop->length = 256; |
1015 | of_prop->value = (unsigned char *)&of_prop[1]; | 1015 | of_prop->value = &of_prop[1]; |
1016 | prom_add_property(find_path_device("/"), of_prop); | 1016 | prom_add_property(find_path_device("/"), of_prop); |
1017 | } | 1017 | } |
1018 | } | 1018 | } |