]> err.no Git - linux-2.6/blobdiff - drivers/input/gameport/emu10k1-gp.c
[PATCH] sata_via: convert to new EH, take #3
[linux-2.6] / drivers / input / gameport / emu10k1-gp.c
index a0118038330a9702f0fd7a03e8269920575f8d18..462f8d300aae5629719c58a983627fed065879a5 100644 (file)
@@ -75,7 +75,7 @@ static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id
        if (!request_region(ioport, iolen, "emu10k1-gp"))
                return -EBUSY;
 
-       emu = kcalloc(1, sizeof(struct emu), GFP_KERNEL);
+       emu = kzalloc(sizeof(struct emu), GFP_KERNEL);
        port = gameport_allocate_port();
        if (!emu || !port) {
                printk(KERN_ERR "emu10k1-gp: Memory allocation failed\n");