summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/orinoco_pci.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-10-12 17:05:39 +0400
committerIngo Molnar <mingo@elte.hu>2008-10-12 17:05:39 +0400
commita9b9e81c915e4a57ac3b21d1a7fa7ff184639780 (patch)
tree98304395fbb5b9c74fca35b196cd414c1949f280 /drivers/net/wireless/orinoco_pci.c
parenta8b71a2810386a5ac8f43d2095fe3355f0d8db37 (diff)
parentfd048088306656824958e7783ffcee27e241b361 (diff)
downloadlinux-a9b9e81c915e4a57ac3b21d1a7fa7ff184639780.tar.xz
Merge branch 'linus' into x86/memory-corruption-check
Diffstat (limited to 'drivers/net/wireless/orinoco_pci.c')
-rw-r--r--drivers/net/wireless/orinoco_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco_pci.c b/drivers/net/wireless/orinoco_pci.c
index 2547d5dac0d3..4ebd638a073e 100644
--- a/drivers/net/wireless/orinoco_pci.c
+++ b/drivers/net/wireless/orinoco_pci.c
@@ -139,7 +139,8 @@ static int orinoco_pci_init_one(struct pci_dev *pdev,
}
/* Allocate network device */
- dev = alloc_orinocodev(sizeof(*card), orinoco_pci_cor_reset);
+ dev = alloc_orinocodev(sizeof(*card), &pdev->dev,
+ orinoco_pci_cor_reset, NULL);
if (!dev) {
printk(KERN_ERR PFX "Cannot allocate network device\n");
err = -ENOMEM;