Merge branch 'fix/hda' into for-linus
[pandora-kernel.git] / arch / powerpc / platforms / 82xx / pq2ads-pci-pic.c
index ddf0bdc..7ee979f 100644 (file)
@@ -147,7 +147,7 @@ int __init pq2ads_pci_init_irq(void)
                goto out;
        }
 
-       priv = alloc_bootmem(sizeof(struct pq2ads_pci_pic));
+       priv = kzalloc(sizeof(*priv), GFP_KERNEL);
        if (!priv) {
                of_node_put(np);
                ret = -ENOMEM;