]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/wireless/orinoco_tmd.c
Linux 2.6.28-rc4
[linux-2.6-omap-h63xx.git] / drivers / net / wireless / orinoco_tmd.c
index df493185a4af65a2b815b4542fbd9f55e71904ba..ede24ec309c0f9d71a34b119376f6576dcdc97d2 100644 (file)
@@ -124,7 +124,8 @@ static int orinoco_tmd_init_one(struct pci_dev *pdev,
        }
 
        /* Allocate network device */
-       dev = alloc_orinocodev(sizeof(*card), orinoco_tmd_cor_reset);
+       dev = alloc_orinocodev(sizeof(*card), &pdev->dev,
+                              orinoco_tmd_cor_reset, NULL);
        if (!dev) {
                printk(KERN_ERR PFX "Cannot allocate network device\n");
                err = -ENOMEM;