Messages in this thread | | | Subject | What is struct pci_driver.owner for? | From | Roland Dreier <> | Date | Tue, 18 Oct 2005 13:47:13 -0700 |
| |
I just noticed that at some point, struct pci_driver grew a .owner member. However, only a handful of drivers set it:
$ grep -r -A10 pci_driver drivers/ | grep owner drivers/block/sx8.c- .owner = THIS_MODULE, drivers/ieee1394/pcilynx.c- .owner = THIS_MODULE, drivers/net/spider_net.c- .owner = THIS_MODULE, drivers/video/imsttfb.c- .owner = THIS_MODULE, drivers/video/kyro/fbdev.c- .owner = THIS_MODULE, drivers/video/tridentfb.c- .owner = THIS_MODULE,
Should all drivers be setting .owner = THIS_MODULE? Is this a good kernel janitors task?
- R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |