diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index f3c617eabd8d..cb899eb95d31 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -573,10 +573,11 @@ int __must_check pci_bus_alloc_resource(struct pci_bus *bus, | |||
573 | void pci_enable_bridges(struct pci_bus *bus); | 573 | void pci_enable_bridges(struct pci_bus *bus); |
574 | 574 | ||
575 | /* Proper probing supporting hot-pluggable devices */ | 575 | /* Proper probing supporting hot-pluggable devices */ |
576 | int __must_check __pci_register_driver(struct pci_driver *, struct module *); | 576 | int __must_check __pci_register_driver(struct pci_driver *, struct module *, |
577 | const char *mod_name); | ||
577 | static inline int __must_check pci_register_driver(struct pci_driver *driver) | 578 | static inline int __must_check pci_register_driver(struct pci_driver *driver) |
578 | { | 579 | { |
579 | return __pci_register_driver(driver, THIS_MODULE); | 580 | return __pci_register_driver(driver, THIS_MODULE, KBUILD_MODNAME); |
580 | } | 581 | } |
581 | 582 | ||
582 | void pci_unregister_driver(struct pci_driver *); | 583 | void pci_unregister_driver(struct pci_driver *); |