diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 00:58:52 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 17:55:18 (GMT) |
commit | 1a38147ed0737a9c01dbf5f2ca47fd2a0aa5cb55 (patch) | |
tree | cd8ace4daea50a2a8c4bc19db156163e9f7aefb3 /arch/powerpc/platforms/powermac/pci.c | |
parent | 9213feea6e197f8507ec855337798cc3388f5570 (diff) | |
download | linux-fsl-qoriq-1a38147ed0737a9c01dbf5f2ca47fd2a0aa5cb55.tar.xz |
[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/platforms/powermac/pci.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/pci.c b/arch/powerpc/platforms/powermac/pci.c index 6fbac30..431a685 100644 --- a/arch/powerpc/platforms/powermac/pci.c +++ b/arch/powerpc/platforms/powermac/pci.c @@ -100,7 +100,7 @@ static void __init fixup_bus_range(struct device_node *bridge) if (prop == NULL || prop->length < 2 * sizeof(int)) return; - bus_range = (int *)prop->value; + bus_range = prop->value; bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); } |