LinuxKPI: add general module_driver(), use it for module_pci_driver()Factor out module_pci_driver() from 366d68f283793 into a generalmodule_driver() so other bus attachments can also use the same
LinuxKPI: add general module_driver(), use it for module_pci_driver()Factor out module_pci_driver() from 366d68f283793 into a generalmodule_driver() so other bus attachments can also use the same kindof macro without duplicating all the lines.Redefine module_pci_driver() using the new general macro.No functional changes intended.Sponsored by: The FreeBSD FoundationMFC after: 3 daysReviewed by: manuDifferential Revision: https://reviews.freebsd.org/D46467
show more ...