diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index aab5b1b72021..733f38de4978 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -868,10 +868,11 @@ struct usb_class_driver { | |||
868 | * use these in module_init()/module_exit() | 868 | * use these in module_init()/module_exit() |
869 | * and don't forget MODULE_DEVICE_TABLE(usb, ...) | 869 | * and don't forget MODULE_DEVICE_TABLE(usb, ...) |
870 | */ | 870 | */ |
871 | extern int usb_register_driver(struct usb_driver *, struct module *); | 871 | extern int usb_register_driver(struct usb_driver *, struct module *, |
872 | const char *); | ||
872 | static inline int usb_register(struct usb_driver *driver) | 873 | static inline int usb_register(struct usb_driver *driver) |
873 | { | 874 | { |
874 | return usb_register_driver(driver, THIS_MODULE); | 875 | return usb_register_driver(driver, THIS_MODULE, KBUILD_MODNAME); |
875 | } | 876 | } |
876 | extern void usb_deregister(struct usb_driver *); | 877 | extern void usb_deregister(struct usb_driver *); |
877 | 878 | ||