]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sh: push-switch: Add missing MODULE_DESCRIPTION() macro
authorJeff Johnson <quic_jjohnson@quicinc.com>
Tue, 2 Jul 2024 19:29:38 +0000 (12:29 -0700)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tue, 16 Jul 2024 15:52:36 +0000 (17:52 +0200)
Fixes the following warning when building allmodconfig with W=1 C=1:

WARNING: modpost: missing MODULE_DESCRIPTION() in arch/sh/drivers/push-switch.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20240702-md-sh-arch-sh-drivers-v1-1-2c5d439a5479@quicinc.com
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/drivers/push-switch.c

index 362e4860bf52e4f96d6dcc9b5f4a8cfc885ee0d9..1dea43381b5ae689aa768088ed833f271211cd85 100644 (file)
@@ -131,4 +131,5 @@ module_exit(switch_exit);
 
 MODULE_VERSION(DRV_VERSION);
 MODULE_AUTHOR("Paul Mundt");
+MODULE_DESCRIPTION("Generic push-switch framework");
 MODULE_LICENSE("GPL v2");