]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/pci_32.c
Pull ec into test branch
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / pci_32.c
index 8336deafc624fd7973c9a36e412787f890e8aeb1..2847cd51a2d7c8c3dbee81184494d1dbc37ebcbe 100644 (file)
@@ -670,7 +670,7 @@ pcibios_make_OF_bus_map(void)
        struct pci_controller* hose;
        struct property *map_prop;
 
-       pci_to_OF_bus_map = (u8*)kmalloc(pci_bus_count, GFP_KERNEL);
+       pci_to_OF_bus_map = kmalloc(pci_bus_count, GFP_KERNEL);
        if (!pci_to_OF_bus_map) {
                printk(KERN_ERR "Can't allocate OF bus map !\n");
                return;