mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
usb: common: add missing MODULE_DESCRIPTION() macros
With ARCH=x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/common/usb-common.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/common/usb-otg-fsm.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://lore.kernel.org/r/20240611-md-drivers-usb-common-v1-1-f81555b0bd0d@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
546a765027
commit
5a94c9a312
@ -433,4 +433,5 @@ static void __exit usb_common_exit(void)
|
||||
subsys_initcall(usb_common_init);
|
||||
module_exit(usb_common_exit);
|
||||
|
||||
MODULE_DESCRIPTION("Common code for host and device side USB");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -449,4 +449,5 @@ int otg_statemachine(struct otg_fsm *fsm)
|
||||
return fsm->state_changed;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(otg_statemachine);
|
||||
MODULE_DESCRIPTION("OTG Finite State Machine");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user