]> err.no Git - linux-2.6/blobdiff - sound/pci/intel8x0.c
[PATCH] e100: support ETHTOOL_GPERMADDR
[linux-2.6] / sound / pci / intel8x0.c
index 47965dfcbee9b5372c599da3a80c4ef5eb486f17..1a96198a17ae618f333691017e3e909293ce1650 100644 (file)
@@ -2604,7 +2604,7 @@ static int __devinit snd_intel8x0_create(snd_card_t * card,
        if ((err = pci_enable_device(pci)) < 0)
                return err;
 
-       chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
+       chip = kzalloc(sizeof(*chip), GFP_KERNEL);
        if (chip == NULL) {
                pci_disable_device(pci);
                return -ENOMEM;
@@ -2864,6 +2864,7 @@ static void __devexit snd_intel8x0_remove(struct pci_dev *pci)
 
 static struct pci_driver driver = {
        .name = "Intel ICH",
+       .owner = THIS_MODULE,
        .id_table = snd_intel8x0_ids,
        .probe = snd_intel8x0_probe,
        .remove = __devexit_p(snd_intel8x0_remove),