X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=drivers%2Fatm%2Flanai.c;h=a395c9aab146ec4f78d0b05767c81b04889c16ef;hb=d9ca676bcb26e1fdff9265a3e70f697cd381c889;hp=cbe15a86c6698b2044b45469fa57f8d199aca15e;hpb=20406f9b67e6fde4fff4639225c7a0e5ea6eaa9b;p=deliverable%2Flinux.git diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index cbe15a86c669..a395c9aab146 100644 --- a/drivers/atm/lanai.c +++ b/drivers/atm/lanai.c @@ -2591,7 +2591,7 @@ static int __devinit lanai_init_one(struct pci_dev *pci, return -ENOMEM; } - atmdev = atm_dev_register(DEV_LABEL, &ops, -1, NULL); + atmdev = atm_dev_register(DEV_LABEL, &pci->dev, &ops, -1, NULL); if (atmdev == NULL) { printk(KERN_ERR DEV_LABEL ": couldn't register atm device!\n");