diff options
Diffstat (limited to 'nosy.c')
-rw-r--r-- | nosy.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -640,6 +640,7 @@ add_card(struct pci_dev *dev, const struct pci_device_id *unused) if (request_irq(dev->irq, irq_handler, SA_SHIRQ, driver_name, lynx)) FAIL("Failed to allocate shared interrupt %d.", dev->irq); + lynx->misc.parent = &dev->dev; lynx->misc.minor = MISC_DYNAMIC_MINOR; lynx->misc.name = "nosy"; lynx->misc.fops = &nosy_ops; |