Skip to content

Commit 7add1ee

Browse files
Jeff Johnsonjwrdegoede
authored andcommitted
platform/x86: add missing MODULE_DESCRIPTION() macros
With ARCH=x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/x86/amilo-rfkill.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/x86/uv_sysfs.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/x86/ibm_rtl.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/x86/xo1-rfkill.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/x86/firmware_attributes_class.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/platform/x86/wireless-hotkey.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 41ab81c commit 7add1ee

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

drivers/platform/x86/amilo-rfkill.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ static void __exit amilo_rfkill_exit(void)
171171
}
172172

173173
MODULE_AUTHOR("Ben Hutchings <[email protected]>");
174+
MODULE_DESCRIPTION("Fujitsu-Siemens Amilo rfkill support");
174175
MODULE_LICENSE("GPL");
175176
MODULE_DEVICE_TABLE(dmi, amilo_rfkill_id_table);
176177

drivers/platform/x86/firmware_attributes_class.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@ int fw_attributes_class_put(void)
4949
EXPORT_SYMBOL_GPL(fw_attributes_class_put);
5050

5151
MODULE_AUTHOR("Mark Pearson <[email protected]>");
52+
MODULE_DESCRIPTION("Firmware attributes class helper module");
5253
MODULE_LICENSE("GPL");

drivers/platform/x86/ibm_rtl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ static bool debug;
2929
module_param(debug, bool, 0644);
3030
MODULE_PARM_DESC(debug, "Show debug output");
3131

32+
MODULE_DESCRIPTION("IBM Premium Real Time Mode (PRTM) driver");
3233
MODULE_LICENSE("GPL");
3334
MODULE_AUTHOR("Keith Mannthey <[email protected]>");
3435
MODULE_AUTHOR("Vernon Mauery <[email protected]>");

drivers/platform/x86/uv_sysfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,4 +929,5 @@ module_init(uv_sysfs_init);
929929
module_exit(uv_sysfs_exit);
930930

931931
MODULE_AUTHOR("Hewlett Packard Enterprise");
932+
MODULE_DESCRIPTION("Sysfs structure for HPE UV systems");
932933
MODULE_LICENSE("GPL");

drivers/platform/x86/wireless-hotkey.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <linux/acpi.h>
1515
#include <acpi/acpi_bus.h>
1616

17+
MODULE_DESCRIPTION("Airplane mode button for AMD, HP & Xiaomi laptops");
1718
MODULE_LICENSE("GPL");
1819
MODULE_AUTHOR("Alex Hung");
1920
MODULE_ALIAS("acpi*:HPQ6001:*");

drivers/platform/x86/xo1-rfkill.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ static struct platform_driver xo1_rfkill_driver = {
7474
module_platform_driver(xo1_rfkill_driver);
7575

7676
MODULE_AUTHOR("Daniel Drake <[email protected]>");
77+
MODULE_DESCRIPTION("OLPC XO-1 software RF kill switch");
7778
MODULE_LICENSE("GPL");
7879
MODULE_ALIAS("platform:xo1-rfkill");

0 commit comments

Comments
 (0)