Commit 6be2745d authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[NET]: Use SET_MODULE_OWNER in ns83820 driver.

parent a6a1faca
...@@ -1788,7 +1788,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_ ...@@ -1788,7 +1788,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_
dev->ee.cache = &dev->MEAR_cache; dev->ee.cache = &dev->MEAR_cache;
dev->ee.lock = &dev->misc_lock; dev->ee.lock = &dev->misc_lock;
dev->net_dev.owner = THIS_MODULE; SET_MODULE_OWNER(dev->net_dev);
dev->net_dev.priv = dev; dev->net_dev.priv = dev;
INIT_WORK(&dev->tq_refill, queue_refill, dev); INIT_WORK(&dev->tq_refill, queue_refill, dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment