summaryrefslogtreecommitdiff
path: root/nosy.c
diff options
context:
space:
mode:
Diffstat (limited to 'nosy.c')
-rw-r--r--nosy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nosy.c b/nosy.c
index 23558b3..5e14f42 100644
--- a/nosy.c
+++ b/nosy.c
@@ -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;